示例#1
0
 /// <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);
 }
示例#2
0
 /// <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);
 }
示例#3
0
 /// <summary>
 /// Constructor initializing our EDM connection using the DefaultConnectionStringKey
 /// </summary>
 public AbstractCfEntitiesEf4DA()
 {
     Ctx = new cfEntitiesData("name=" + DefaultConnectionStringKey);
 }