Sync branch to master#35
Open
nkauza wants to merge 23 commits into
Open
Conversation
…roject and update refererences, and added CustomerId property to the Order model to create a link between the order and the customer
…GetOrders method signatures
…ent the IOrderRepository interface
…B connection and close the connection inside the Dispose method. Remove database connection from Save order method
…erId from the as this can be an auto generated ID
…to return all customers and their orders.
…and replace the hard coded sql script with a stored procedure.
…omer and GetOrders signatures
…tory project. Update the Order Repository class to be public so i can be accessed inside the OrderService class
…w the dispose method to trigger inside the order repository to close the database connection
…e Get Customer method.
…nstead of the calling the Load method directly from the Customer repository
…red while place order
…ode to read the connection string from App config.
…essed inside the interface. and change the Place order method to throw an exception when an exceptio occurs instead of returning a false value.
…ers with orders methods
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync all changes to master after successful test