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
| # source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list | |
| # A list of available STUN server. | |
| stun.l.google.com:19302 | |
| stun1.l.google.com:19302 | |
| stun2.l.google.com:19302 | |
| stun3.l.google.com:19302 | |
| stun4.l.google.com:19302 | |
| stun01.sipphone.com | |
| stun.ekiga.net |
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
| public Context(){ | |
| Configuration.LazyLoadingEnabled = false; | |
| Configuration.ProxyCreationEnabled = false; | |
| } |
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
| foreach (var city in cities){ | |
| var city = context.City.Where(x => list.Contains(x.Name)).ToList(); | |
| } |
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
| protected override void OnModelCreating(DbModelBuilder modelBuilder){ | |
| modelBuilder.HasDefaultSchema(“mail”); | |
| } |
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
| (from b in DataContext.Branches | |
| join c in DataContext.Cities on b.CityID equals c.CityID | |
| where b.BankID == 2 && b.Status == true) |
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 |
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
| public Context(){ | |
| Configuration.ProxyCreationEnabled = false; | |
| } |
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 hplSelection = db.Selection.GetById(parameters.SelectionId); | |
| var visit = db.Visit.GetById(parameters.VisitId); | |
| var bank = db.Banks.GetById(hplSelection.BankID); | |
| var inquiry = db.Inquiry.Get(x => x.InquiryID == hplSelection.InquiryID); |
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
| (from b in DataContext.Branches | |
| select b.Name) |
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
| (from b in DataContext.Branches | |
| where b.Name== "Kadıköy") |
OlderNewer