I have two tables, called a "cart" and what I call "items" That the cart be able to store a "item" and a list of quantities. That's why I have created another table "cart_items" which contains the ID of the template, the ID of the item and the quantity. Is this a good design, or should I add another area for the ID of "cart_itim"? Or is there a better way to do it all together? When I try to update my car, I am just running in trouble, my cart items do not update properly, what am I going to do all "cart_times" by car Is connected and then to re-add each "cart_item" and I can not help but it seems that there should be a better way This is a very good design. In the words ER (unit relationship) there are many relationships between objects and cart, through this I mean that an item can appear in many different trains and many different in a cart - Different items may be included In this context ...
How do I go about passing a session for a repository class? We say that I have two projects 1) TestSite 2) Business Objects The Republican Business Objects Project is included in the project. The NHibernate session has been opened in the test site project. Now, I want to use the same session because the test site initiates the transaction on that session. Currently, I am using the following: var repository = New Customer Resor (_session); Of course, it looks ugly! I'm thinking in some way that a dependency injection frame can be tilted and I can be provided without entering the repository with the ejection object. In our WCF service, we actually use a unitofwork that wraps an operation and stores ISSN for that operation. . The repositories know how they are receiving a hint from the current unit of work under which they are running In case of testing we have a base test class, Those who are included in any test class, who touch the test database, we then control t...
I have ASP.NET home page where the user provides his login ID. The application is linked to the ID based on the SharePoint site - the user is directed to the related SharePoint site. For example, if the user is the site 1 user, then ASP.NET The page gives the user instructions on SharePointSite1. This work is very far from me. Now, how do I pass the login ID from ASP.NET to the SharePoint login page so that the user does not type in the user ID again. I tried passing the URL parameter but it is not working. If you are using form-based authentication (FBA) ASP.NETTAP you use FBA You can also configure SharePoint to get SharePoint to use the same FBA configuration as your ASP.NET application. The advantage of doing this is that you have a user login your ASP.NET application and simply redirect them to your SharePoint site and they will be automatically logged in. You do not have to pass a username or customize any page in any way in SharePoint. If you have not done it ...
Comments
Post a Comment