/// <summary> /// Constructor initializing our EDM connection using the ConnectionStringKey parameter. This will throw an exception /// if there is no entry in .config with the matching key. /// </summary> /// <param name="connectionStringKey"></param> public AbstractCfEntitiesEf4DA(string connectionStringKey) { Ctx = new cfEntitiesData("name=" + connectionStringKey); }
/// <summary> /// Constructor initializing our EDM connection using the connection /// </summary> /// <param name="connectionStringKey"></param> public AbstractCfEntitiesEf4DA(System.Data.EntityClient.EntityConnection connection) { Ctx = new cfEntitiesData(connection); }
/// <summary> /// Constructor initializing our EDM connection using the DefaultConnectionStringKey /// </summary> public AbstractCfEntitiesEf4DA() { Ctx = new cfEntitiesData("name=" + DefaultConnectionStringKey); }