Created
March 11, 2018 21:37
-
-
Save obegendi/e44f7265b7bdb00cf9154a10cd80d497 to your computer and use it in GitHub Desktop.
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
| var customer = new Customer{ | |
| TCKN = parameters.Tckn, | |
| Email = parameters.Email, | |
| Phone = parameters.Phone, | |
| Income = parameters.Income, | |
| JobID = parameters.JobID | |
| }; | |
| db.Customer.Add(customer); | |
| var application = new PlApplication | |
| { | |
| SelectedBankID = hplSelection.BankID, | |
| CreateDate = DateTime.Now, | |
| CustomerID = customer.CustomerID, | |
| CityID = parameters.CityID, | |
| BranchID = parameters.BranchID, | |
| }; | |
| db.Application.Add(application); | |
| db.SaveChanges(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bu kod bloğunda application daki customer.CustomerID boş gelecektir.