本文整理汇总了C#中SouthWind.NorthwindDB类的典型用法代码示例。如果您正苦于以下问题:C# SouthWind.NorthwindDB类的具体用法?C# SouthWind.NorthwindDB怎么用?C# SouthWind.NorthwindDB使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SouthWind.NorthwindDB类属于命名空间,在下文中一共展示了SouthWind.NorthwindDB类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Customer
public Customer(string connectionString, string providerName) {
_db=new SouthWind.NorthwindDB(connectionString, providerName);
Init();
}
示例2: Shipper
public Shipper(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例3: GetRepo
internal static IRepository<Shipper> GetRepo(string connectionString, string providerName){
SouthWind.NorthwindDB db;
if(String.IsNullOrEmpty(connectionString)){
db=new SouthWind.NorthwindDB();
}else{
db=new SouthWind.NorthwindDB(connectionString, providerName);
}
IRepository<Shipper> _repo;
if(db.TestMode){
Shipper.SetTestRepo();
_repo=_testRepo;
}else{
_repo = new SubSonicRepository<Shipper>(db);
}
return _repo;
}
示例4: Employee
public Employee(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例5: Category
public Category(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例6: SubSonicTest
public SubSonicTest(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例7: Product
public Product(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例8: Order
public Order(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例9: EmployeeTerritory
public EmployeeTerritory(string connectionString, string providerName) {
_db=new SouthWind.NorthwindDB(connectionString, providerName);
Init();
}
示例10: Region
public Region(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例11: CustomerDemographic
public CustomerDemographic(){
_db=new SouthWind.NorthwindDB();
Init();
}
示例12: OrderDetail
public OrderDetail(string connectionString, string providerName) {
_db=new SouthWind.NorthwindDB(connectionString, providerName);
Init();
}
示例13: Supplier
public Supplier(){
_db=new SouthWind.NorthwindDB();
Init();
}