public static string GetConnectionString() { string fileName; return(ConnectionStringMethods.GetConnectionString(out fileName)); }
public DataContext() : base(ConnectionStringMethods.GetConnectionString()) { Database.SetInitializer <DataContext>(null); this.Configuration.LazyLoadingEnabled = this.Configuration.ProxyCreationEnabled = false; }