Skip to content

Instantly share code, notes, and snippets.

View obegendi's full-sized avatar
:shipit:
Working from home

Orhun Beğendi obegendi

:shipit:
Working from home
View GitHub Profile
@obegendi
obegendi / stuns
Created July 11, 2016 12:26 — forked from zziuni/stuns
STUN server list
# 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
public Context(){
Configuration.LazyLoadingEnabled = false;
Configuration.ProxyCreationEnabled = false;
}
foreach (var city in cities){
var city = context.City.Where(x => list.Contains(x.Name)).ToList();
}
protected override void OnModelCreating(DbModelBuilder modelBuilder){
modelBuilder.HasDefaultSchema(“mail”);
}
(from b in DataContext.Branches
join c in DataContext.Cities on b.CityID equals c.CityID
where b.BankID == 2 && b.Status == true)
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
public Context(){
Configuration.ProxyCreationEnabled = false;
}
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);
(from b in DataContext.Branches
select b.Name)
(from b in DataContext.Branches
where b.Name== "Kadıköy")