本文整理汇总了C#中lv_B2C类的典型用法代码示例。如果您正苦于以下问题:C# lv_B2C类的具体用法?C# lv_B2C怎么用?C# lv_B2C使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
lv_B2C类属于命名空间,在下文中一共展示了lv_B2C类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ModelToHashtable
public Hashtable ModelToHashtable(lv_B2C.Model.OrderInfo modelOrder)
{
Hashtable ht = new Hashtable();
ht[modelOrder.OrderID] = modelOrder.OrderID;
ht[modelOrder.UserName] = modelOrder.UserName;
ht[modelOrder.OrderNum] = modelOrder.OrderNum;
ht[modelOrder.LogisticsNum] = modelOrder.LogisticsNum;
ht[modelOrder.Consignee] = modelOrder.Consignee;
ht[modelOrder.Province] = modelOrder.Province;
ht[modelOrder.City] = modelOrder.City;
ht[modelOrder.Town] = modelOrder.Town;
ht[modelOrder.Post] = modelOrder.Post;
ht[modelOrder.Address] = modelOrder.Address;
ht[modelOrder.MobilePhone] = modelOrder.MobilePhone;
ht[modelOrder.TelPhone] = modelOrder.TelPhone;
ht[modelOrder.Email] = modelOrder.Email;
ht[modelOrder.Landmark] = modelOrder.Landmark;
ht[modelOrder.BestTime] = modelOrder.BestTime;
ht[modelOrder.Logistics] = modelOrder.Logistics;
ht[modelOrder.LogisticsDetail] = modelOrder.LogisticsDetail;
ht[modelOrder.IsInsure] = modelOrder.IsInsure;
ht[modelOrder.Payment] = modelOrder.Payment;
ht[modelOrder.PaymentDetail] = modelOrder.PaymentDetail;
ht[modelOrder.PayPoundage] = modelOrder.PayPoundage;
ht[modelOrder.InvoiceType] = modelOrder.InvoiceType;
ht[modelOrder.InvoiceTitle] = modelOrder.InvoiceTitle;
ht[modelOrder.InvoiceDetail] = modelOrder.InvoiceDetail;
ht[modelOrder.InvoiceCustomersMsg] = modelOrder.InvoiceCustomersMsg;
ht[modelOrder.InvoiceMerchantsMsg] = modelOrder.InvoiceMerchantsMsg;
ht[modelOrder.InvoiceMoney] = modelOrder.InvoiceMoney;
ht[modelOrder.ProductTotalPrice] = modelOrder.ProductTotalPrice;
ht[modelOrder.Postage] = modelOrder.Postage;
ht[modelOrder.Insurance] = modelOrder.Insurance;
ht[modelOrder.PackingMoney] = modelOrder.PackingMoney;
ht[modelOrder.CARDSMoney] = modelOrder.CARDSMoney;
ht[modelOrder.Discount] = modelOrder.Discount;
ht[modelOrder.DiscountDetail] = modelOrder.DiscountDetail;
ht[modelOrder.PostageDerate] = modelOrder.PostageDerate;
ht[modelOrder.UsedBalance] = modelOrder.UsedBalance;
ht[modelOrder.UsedIntegral] = modelOrder.UsedIntegral;
ht[modelOrder.ProductQuantity] = modelOrder.ProductQuantity;
ht[modelOrder.ProductWeight] = modelOrder.ProductWeight;
ht[modelOrder.ActualPayMoney] = modelOrder.ActualPayMoney;
ht[modelOrder.MerchantsModifyPrice] = modelOrder.MerchantsModifyPrice;
ht[modelOrder.OrderStatus] = modelOrder.OrderStatus;
ht[modelOrder.CreateDate] = modelOrder.CreateDate;
ht[modelOrder.LastModifyDate] = modelOrder.LastModifyDate;
ht[modelOrder.Hits] = modelOrder.Hits;
ht[modelOrder.IsShow] = modelOrder.IsShow;
ht[modelOrder.Types] = modelOrder.Types;
ht[modelOrder.Tag] = modelOrder.Tag;
ht[modelOrder.StringValue] = modelOrder.StringValue;
ht[modelOrder.IsDel] = modelOrder.IsDel;
ht[modelOrder.Sort] = modelOrder.Sort;
ht[modelOrder.ExtendID] = modelOrder.ExtendID;
return ht;
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:57,代码来源:OrderInfoExt.cs
示例2: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.AdPosition model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@AdPositionID", model.AdPositionID) ,
new SqlParameter("@AdPageID", model.AdPageID) ,
new SqlParameter("@ShowType", model.ShowType) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@Title_en", model.Title_en) ,
new SqlParameter("@Detail", model.Detail) ,
new SqlParameter("@Width", model.Width) ,
new SqlParameter("@Height", model.Height) ,
new SqlParameter("@AdPositionType", model.AdPositionType) ,
new SqlParameter("@AdPositionProperty", model.AdPositionProperty) ,
new SqlParameter("@DefaultImg", model.DefaultImg) ,
new SqlParameter("@AlbumID", model.AlbumID) ,
new SqlParameter("@SiteID", model.SiteID) ,
new SqlParameter("@IsShow", model.IsShow) ,
new SqlParameter("@IsDel", model.IsDel) ,
new SqlParameter("@Types", model.Types) ,
new SqlParameter("@Sort", model.Sort) ,
new SqlParameter("@Tag", model.Tag) ,
new SqlParameter("@StringValue", model.StringValue) ,
new SqlParameter("@ExtendID", model.ExtendID)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:37,代码来源:AdPosition.cs
示例3: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.AdPage model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@ADPageID", model.ADPageID) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@PagePath", model.PagePath) ,
new SqlParameter("@PreviewImage", model.PreviewImage) ,
new SqlParameter("@Detail", model.Detail) ,
new SqlParameter("@SiteID", model.SiteID) ,
new SqlParameter("@IsShow", model.IsShow) ,
new SqlParameter("@IsDel", model.IsDel) ,
new SqlParameter("@Types", model.Types) ,
new SqlParameter("@Sort", model.Sort) ,
new SqlParameter("@Tag", model.Tag) ,
new SqlParameter("@StringValue", model.StringValue) ,
new SqlParameter("@ExtendID", model.ExtendID)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:30,代码来源:AdPage.cs
示例4: Add
/// <summary>
/// 增加一条数据
/// </summary>
public int Add(lv_B2C.Model.ChannelItem model)
{
return dal.Add(model);
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ChannelItem.cs
示例5: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.HomePage model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@PageID", model.PageID) ,
new SqlParameter("@ParentID", model.ParentID) ,
new SqlParameter("@RootID", model.RootID) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@Title_en", model.Title_en) ,
new SqlParameter("@Alt", model.Alt) ,
new SqlParameter("@Link", model.Link) ,
new SqlParameter("@Detail", model.Detail) ,
new SqlParameter("@UserName", model.UserName) ,
new SqlParameter("@AlbumID", model.AlbumID) ,
new SqlParameter("@CreateDate", model.CreateDate) ,
new SqlParameter("@LastModifyDate", model.LastModifyDate) ,
new SqlParameter("@Hits", model.Hits) ,
new SqlParameter("@IsShow", model.IsShow) ,
new SqlParameter("@Types", model.Types) ,
new SqlParameter("@Tag", model.Tag) ,
new SqlParameter("@StringValue", model.StringValue) ,
new SqlParameter("@IsDel", model.IsDel) ,
new SqlParameter("@Sort", model.Sort) ,
new SqlParameter("@ExtendID", model.ExtendID)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:37,代码来源:HomePage.cs
示例6: Update
/// <summary>
/// 更新一条数据
/// </summary>
public int Update(lv_B2C.Model.ProductPackage model)
{
return Merger(model, "ProductPackage_Update");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ProductPackage.cs
示例7: Update
/// <summary>
/// 更新一条数据
/// </summary>
public int Update(lv_B2C.Model.ProductFieldClass model)
{
return dal.Update(model);
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ProductFieldClass.cs
示例8: Update
/// <summary>
/// 更新一条数据
/// </summary>
public int Update(lv_B2C.Model.ShippingAddress model)
{
return dal.Update(model);
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ShippingAddress.cs
示例9: Add
/// <summary>
/// 增加一条数据
/// </summary>
public int Add(lv_B2C.Model.ArticleClass model)
{
return Merger(model, "ArticleClass_ADD");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ArticleClass.cs
示例10: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.ArticleClass model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@ArticleClassID", model.ArticleClassID) ,
new SqlParameter("@LftID", model.LftID) ,
new SqlParameter("@RgtID", model.RgtID) ,
new SqlParameter("@ParentID", model.ParentID) ,
new SqlParameter("@RootID", model.RootID) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@Title_en", model.Title_en) ,
new SqlParameter("@Alt", model.Alt) ,
new SqlParameter("@Images", model.Images) ,
new SqlParameter("@FirstLetter", model.FirstLetter) ,
new SqlParameter("@Readme", model.Readme) ,
new SqlParameter("@ClassKeyWord", model.ClassKeyWord) ,
new SqlParameter("@AlbumID", model.AlbumID) ,
new SqlParameter("@ShowOrder", model.ShowOrder) ,
new SqlParameter("@CreateDate", model.CreateDate) ,
new SqlParameter("@LastModifyDate", model.LastModifyDate) ,
new SqlParameter("@Hits", model.Hits) ,
new SqlParameter("@IsShow", model.IsShow) ,
new SqlParameter("@Types", model.Types) ,
new SqlParameter("@Tag", model.Tag) ,
new SqlParameter("@StringValue", model.StringValue) ,
new SqlParameter("@IsDel", model.IsDel) ,
new SqlParameter("@Sort", model.Sort) ,
new SqlParameter("@ExtendID", model.ExtendID)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:41,代码来源:ArticleClass.cs
示例11: Update
/// <summary>
/// 更新一条数据
/// </summary>
public int Update(lv_B2C.Model.ArticleClass model)
{
return Merger(model, "ArticleClass_Update");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ArticleClass.cs
示例12: Add
/// <summary>
/// 增加一条数据
/// </summary>
public int Add(lv_B2C.Model.PriceAnnal model)
{
return Merger(model, "PriceAnnal_ADD");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:PriceAnnal.cs
示例13: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.PriceAnnal model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@PriceAnnalID", model.PriceAnnalID) ,
new SqlParameter("@ProductID", model.ProductID) ,
new SqlParameter("@ProductFieldID", model.ProductFieldID) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@Images", model.Images) ,
new SqlParameter("@Link", model.Link) ,
new SqlParameter("@CurrentPrice", model.CurrentPrice) ,
new SqlParameter("@ShowOrder", model.ShowOrder) ,
new SqlParameter("@LastModifyDate", model.LastModifyDate) ,
new SqlParameter("@Hits", model.Hits) ,
new SqlParameter("@IsShow", model.IsShow) ,
new SqlParameter("@Types", model.Types) ,
new SqlParameter("@Tag", model.Tag) ,
new SqlParameter("@StringValue", model.StringValue) ,
new SqlParameter("@IsDel", model.IsDel) ,
new SqlParameter("@Sort", model.Sort) ,
new SqlParameter("@ExtendID", model.ExtendID)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:34,代码来源:PriceAnnal.cs
示例14: Update
/// <summary>
/// 更新一条数据
/// </summary>
public int Update(lv_B2C.Model.PriceAnnal model)
{
return Merger(model, "PriceAnnal_Update");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:PriceAnnal.cs
示例15: Add
/// <summary>
/// 增加一条数据
/// </summary>
public int Add(lv_B2C.Model.AdPosition model)
{
return Merger(model, "AdPosition_ADD");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:AdPosition.cs
示例16: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.LogisticsCompany model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@ID", model.ID) ,
new SqlParameter("@LogisticsID", model.LogisticsID) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@Title_en", model.Title_en) ,
new SqlParameter("@Alt", model.Alt) ,
new SqlParameter("@Detail", model.Detail)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:23,代码来源:LogisticsCompany.cs
示例17: Add
/// <summary>
/// 增加一条数据
/// </summary>
public int Add(lv_B2C.Model.LogisticsCompany model)
{
return Merger(model, "LogisticsCompany_ADD");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:LogisticsCompany.cs
示例18: Update
/// <summary>
/// 更新一条数据
/// </summary>
public int Update(lv_B2C.Model.ProductBrand model)
{
return Merger(model, "ProductBrand_Update");
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ProductBrand.cs
示例19: Add
/// <summary>
/// 增加一条数据
/// </summary>
public int Add(lv_B2C.Model.ShippingAddress model)
{
return dal.Add(model);
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:7,代码来源:ShippingAddress.cs
示例20: Merger
/// <summary>
/// 执行更新或新增的存储过程
/// </summary>
private int Merger(lv_B2C.Model.ProductBrand model, string strStoredProcedure)
{
try
{
SqlParameter[] parameters = {
new SqlParameter("@ProductBrandID", model.ProductBrandID) ,
new SqlParameter("@Title", model.Title) ,
new SqlParameter("@Title_en", model.Title_en) ,
new SqlParameter("@Alt", model.Alt) ,
new SqlParameter("@Images", model.Images) ,
new SqlParameter("@Detail", model.Detail) ,
new SqlParameter("@BrandImage", model.BrandImage) ,
new SqlParameter("@IsHot", model.IsHot) ,
new SqlParameter("@IsNew", model.IsNew) ,
new SqlParameter("@ShowOrder", model.ShowOrder) ,
new SqlParameter("@CreateDate", model.CreateDate) ,
new SqlParameter("@LastModifyDate", model.LastModifyDate) ,
new SqlParameter("@Hits", model.Hits) ,
new SqlParameter("@IsShow", model.IsShow) ,
new SqlParameter("@Types", model.Types) ,
new SqlParameter("@Tag", model.Tag) ,
new SqlParameter("@StringValue", model.StringValue) ,
new SqlParameter("@IsDel", model.IsDel) ,
new SqlParameter("@Sort", model.Sort) ,
new SqlParameter("@ExtendID", model.ExtendID)
};
return lv_DBUtility.DBManager.Instance().ExecuteNonQuery(CommandType.StoredProcedure, strStoredProcedure, parameters);
}
catch
{
return -1;
}
}
开发者ID:zackwrj,项目名称:B2C_Admin,代码行数:37,代码来源:ProductBrand.cs
注:本文中的lv_B2C类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论