示例#1
0
 public StoreDao()
 {
     if (dc == null)
     {
         dc = new RMDataContext(ConnectionManager.ConnectionString);
     }
 }
示例#2
0
 public DeptInfoDao()
 {
     dc = new RMDataContext(ConnectionManager.ConnectionString);
 }
示例#3
0
 public PurchaseReturnDao()
 {
     dc = new RMDataContext(ConnectionManager.ConnectionString);
 }
示例#4
0
 public AdjustDao()
 {
     dc = new RMDataContext(ConnectionManager.ConnectionString);
 }
示例#5
0
 /// <summary>
 ///   构造函数,创建LINQ to SQL数据上下文类的实例
 /// </summary>
 public MaterialInfoDao()
 {
     dc = new RMDataContext(ConnectionManager.ConnectionString);
 }
 public WarehouseInfoDao()
 {
     dc = new RMDataContext(ConnectionManager.ConnectionString);
 }
示例#7
0
 public QueryDao()
 {
     dc = new RMDataContext(ConnectionManager.ConnectionString);
 }