本文整理汇总了C#中IDBAccess类的典型用法代码示例。如果您正苦于以下问题:C# IDBAccess类的具体用法?C# IDBAccess怎么用?C# IDBAccess使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IDBAccess类属于命名空间,在下文中一共展示了IDBAccess类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: GenerateExpression
internal string GenerateExpression(Type type, out List<DbParameter> parameters, IDBAccess dbAccess)
{
this.Init(type, dbAccess);
parameters = new List<DbParameter>();
int i = 0;
return " AND " + this.GenerateSQL(ref parameters, ref i);
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:7,代码来源:Criteria.cs
示例2: SelectCommandCreator
/// <summary>
/// 初始化ModifyCommandCreator,dbAccess不能为空
/// </summary>
/// <exception cref="RException(DatabaseErrorCode.ConnectDbServerError - 0x00010001)">
/// 传入的dbAccess为空,引发此异常
/// </exception>
/// <param name="dbAccess">数据库访问接口</param>
public SelectCommandCreator(IDBAccess dbAccess)
{
this.DbAccess = dbAccess;
FilterProterties = new string[0];
OrderBy = new SortInfo[0];
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:14,代码来源:SelectCommandCreator.cs
示例3: InsertCommandCreator
/// <summary>
/// ��ʼ��ModifyCommandCreator��dbAccess����Ϊ��
/// </summary>
/// <exception cref="RException(DatabaseErrorCode.ConnectDbServerError - 0x00010001)">
/// �����dbAccessΪ�գ��������쳣
/// </exception>
/// <param name="dbAccess">���ݿ���ʽӿ�</param>
public InsertCommandCreator(IDBAccess dbAccess)
{
DbAccess = dbAccess;
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:11,代码来源:InsertCommandCreator.cs
示例4: Init
internal override void Init(Type objectType, IDBAccess dbAccess)
{
this._objectType = objectType;
this._dbAccess = dbAccess;
}
开发者ID:NoobSkie,项目名称:taobao-shop-helper,代码行数:5,代码来源:ExpressionCollection.cs
示例5: VendorDao
public VendorDao(string connectionStr)
{
_dbAccess = DBFactory.getDBAccess(DBType.MySql, connectionStr);
connStr = connectionStr;
mysqlHelp = new Common.MySqlHelper(connectionStr);
_serialDao = new SerialDao(connectionStr);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:7,代码来源:VendorDao.cs
示例6: CallerDao
public CallerDao(string connectionString)
{
_access = DBFactory.getDBAccess(DBType.MySql, connectionString);
_intCurrentTime = (int)BLL.gigade.Common.CommonFunction.GetPHPTime();
//_strIP = BLL.gigade.Common.CommonFunction.GetClientIP();
_strIP = CommonFunction.GetIP4Address(CommonFunction.GetClientIP());
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:7,代码来源:CallerDao.cs
示例7: ScheduleItemDao
public ScheduleItemDao(string connectionString)
{
//connectionString = "Server=127.0.0.1;database=test;user=root;pwd=198929;charset='utf8'";
//connectionString = "Server=192.168.18.166;database=test;user=root;pwd=198929;charset='utf8'";
_access = DBFactory.getDBAccess(DBType.MySql, connectionString);
conStr = connectionString;
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:7,代码来源:ScheduleItemDao.cs
示例8: DeliverMasterMgr
public DeliverMasterMgr(string connectionString)
{
connection = connectionString;
_ideliver = new DeliverMasterDao(connectionString);
_access = DBFactory.getDBAccess(DBType.MySql, connectionString);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:7,代码来源:DeliverMasterMgr.cs
示例9: ProductTempDao
public ProductTempDao(string connectStr)
{
_dbAccess = DBFactory.getDBAccess(DBType.MySql, connectStr);
this.strConn = connectStr;
reProductDao = new RecommendedProductAttributeDao(connectStr);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:7,代码来源:ProductTempDao.cs
示例10: VipUserMgr
public VipUserMgr(string connStr)
{
_vipUserDao = new VipUserDao(connStr);
_usersDao = new UsersDao(connStr);
_dbAccess = DBFactory.getDBAccess(DBType.MySql, connStr);
conn = connStr;
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:7,代码来源:VipUserMgr.cs
示例11: PromotionBannerMgr
public PromotionBannerMgr(string connectionStr)
{
_promotionBannerDao = new PromotionBannerDao(connectionStr);
_promotionBannerRelationDao = new PromotionBannerRelationDao(connectionStr);
_mysqlDao = new MySqlDao(connectionStr);
_vendorBrandDao = new VendorBrandDao(connectionStr);
_accessMySql = DBFactory.getDBAccess(DBType.MySql, connectionStr);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:8,代码来源:PromotionBannerMgr.cs
示例12: ParticularsSrcDao
/// <summary>
/// 方法
/// </summary>
/// <param name="connectionString">連接字符串</param>
/// <param name="particularsSrcType">particularsSrcType = 1 表示使用 db數據庫 particularsSrcType = 2 表示 使用 xml 資料庫</param>
public ParticularsSrcDao(string connectionString, int particularsSrcType)
{
this.connectionString = connectionString;
this.particularsSrcType = particularsSrcType;
if (particularsSrcType == 1)
{
_dbAccess = DBFactory.getDBAccess(DBType.MySql, connectionString);
}
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:15,代码来源:ParticularsSrcDao.cs
示例13: ProductItemMapExcelMgr
public ProductItemMapExcelMgr(string connectionString)
{
_productItemMapMgr = new ProductItemMapMgr(connectionString);
_productItemMapDao = new ProductItemMapDao(connectionString);
_productItemMgr = new ProductItemMgr(connectionString);
_productItemDao = new ProductItemDao(connectionString);
_callerMgr = new CallerMgr(connectionString);
_priceMasterMgr = new PriceMasterMgr(connectionString);
_access = DBAccess.DBFactory.getDBAccess(DBType.MySql, connectionString);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:10,代码来源:ProductItemMapExcelMgr.cs
示例14: PromoPairDao
public PromoPairDao(string connectionstring)
{
_access = DBFactory.getDBAccess(DBType.MySql, connectionstring);
this.connStr = connectionstring;
_proCateDao = new ProductCategoryDao(connectionstring);
_prodCategSet = new ProductCategorySetDao(connectionstring);
_prodPromoDao = new ProdPromoDao(connectionstring);
_promoAllDao = new PromoAllDao(connectionstring);
_serialDao = new SerialDao(connectionstring);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:11,代码来源:PromoPairDao.cs
示例15: EdmContentMgr
public EdmContentMgr(string connectionString)
{
_IEdmContentDao = new EdmContentDao(connectionString);
_edmContentDao = new EdmContentDao(connectionString);
_edmEmailDao = new EdmEmailDao(connectionString);
_vipUserDao = new VipUserDao(connectionString);
_usersDao = new UsersDao(connectionString);
_accessMySql = DBFactory.getDBAccess(DBType.MySql, connectionString);
_edmGroupEmailDao = new EdmGroupEmailDao(connectionString);
conn = connectionString;
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:11,代码来源:EdmContentMgr.cs
示例16: ProductSearchDao
public ProductSearchDao(string connectionstring, string sphinxHost, string sphinxPort)
{
_accessMySql = DBFactory.getDBAccess(DBType.MySql, connectionstring);
_sphinxHost = GetParameterCode(sphinxHost);
_sphinxPort = 0;
if (!string.IsNullOrEmpty(GetParameterCode(sphinxPort)))
{
_sphinxPort = Convert.ToInt32(GetParameterCode(sphinxPort));
}
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:11,代码来源:ProductSearchDao.cs
示例17: PromotionsAmountFareDao
/// <summary>
/// 有參構造函數
/// </summary>
/// <param name="connectionstring">數據庫連接字符串</param>
public PromotionsAmountFareDao(string connectionstring)
{
_access = DBFactory.getDBAccess(DBType.MySql, connectionstring);
this.connStr = connectionstring;
_cateDao = new ProductCategoryDao(connectionstring);
_prodCateSetDao = new ProductCategorySetDao(connectionstring);
_prodPromoDao = new ProdPromoDao(connectionstring);
_promoAllDao = new PromoAllDao(connectionstring);
_promAmountReduceDao = new PromotionsAmountReduceDao(connectionstring);
_usconDao = new UserConditionDao(connectionstring);
_serialDao = new SerialDao(connectionstring);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:16,代码来源:PromotionsAmountFareDao.cs
示例18: OrderReturnStatusDao
public OrderReturnStatusDao(string connectionstring)
{
_access = DBFactory.getDBAccess(DBType.MySql, connectionstring);
_ordermasterdao = new OrderMasterDao(connectionstring);
_orderDetailDao = new OrderDetailDao(connectionstring);
_orderMoneyReturnDao = new OrderMoneyReturnDao(connectionstring);
_vipuserGroupDao = new VipUserGroupDao(connectionstring);
_itemDao = new ProductItemDao(connectionstring);
_userRecommendDao = new UserRecommendDao(connectionstring);
_mySqlDao = new MySqlDao(connectionstring);
this.connStr = connectionstring;
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:12,代码来源:OrderReturnStatusDao.cs
示例19: PromotionsAmountDiscountDao
/// <summary>
/// 有參構造函數
/// </summary>
/// <param name="connectionstring">數據庫連接字符串</param>
public PromotionsAmountDiscountDao(string connectionstring)
{
_access = DBFactory.getDBAccess(DBType.MySql, connectionstring);
this.connStr = connectionstring;
_prodpromoDao = new ProdPromoDao(connectionstring);
_proCateDao = new ProductCategoryDao(connectionstring);
_prodCategSet = new ProductCategorySetDao(connectionstring);
_proAllDao = new PromoAllDao(connectionstring);
_usconDao = new UserConditionDao(connectionstring);
_promoDisDao = new PromoDiscountDao(connectionstring);
_mySql = new MySqlDao(connectionstring);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:16,代码来源:PromotionsAmountDiscountDao.cs
示例20: PromotionsAmountGiftDao
/// <summary>
/// 有參構造函數
/// </summary>
/// <param name="connectionstring">數據庫連接字符串</param>
public PromotionsAmountGiftDao(string connectionstring)
{
_access = DBFactory.getDBAccess(DBType.MySql, connectionstring);
this.connStr = connectionstring;
_proCateDao = new ProductCategoryDao(connectionstring);
_prodCategSetDao = new ProductCategorySetDao(connectionstring);
_prodpromoDao = new ProdPromoDao(connectionstring);
_proAllDao = new PromoAllDao(connectionstring);
_usconDao = new UserConditionDao(connectionstring);
_promoDisDao = new PromoDiscountDao(connectionstring);
_serialDao = new SerialDao(connectionstring);
_ptDao = new PromoTicketDao(connectionstring);
_prodDao = new ProductDao(connectionstring);
_promoMainDao = new PromotionsMaintainDao(connectionstring);
_vendorBrandDao = new VendorBrandDao(connectionstring);
}
开发者ID:lxh2014,项目名称:gigade-net,代码行数:20,代码来源:PromotionsAmountGiftDao.cs
注:本文中的IDBAccess类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论