74 lines
2.6 KiB
C#
74 lines
2.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using SuperMap.RealEstate.Enums;
|
|
using SuperMap.RealEstate.ServiceModel;
|
|
using SuperMap.RealEstate.Utility;
|
|
using SuperMap.RealEstate.Web.UI;
|
|
using SuperMap.RealEstate.Web.UI.WebControls;
|
|
using SuperMap.RealEstate.Web.Utility;
|
|
using SuperMap.RealEstate.HighWay.SellData.Interface;
|
|
|
|
namespace SuperMap.RealEstate.HighWay.SellData.Business
|
|
{
|
|
/// <summary>
|
|
/// T_GASSALESITEM_加油站油品销售明细记录 类
|
|
/// </summary>
|
|
public partial class GASSALESITEM:References.GASSALESITEM
|
|
{
|
|
#region 构造函数
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
public GASSALESITEM() : base() { }
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="outer">IBusinessModel接口对象</param>
|
|
public GASSALESITEM(IBusinessModel outer) : base(outer) { }
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="transaction">事务对象</param>
|
|
public GASSALESITEM(Transaction transaction) : base(transaction) { }
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="dataRow">DataTable的数据行</param>
|
|
public GASSALESITEM(DataRow dataRow) : base(dataRow) { }
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="dataRow">DataTable的数据行</param>
|
|
/// <param name="outer">IBusinessModel接口对象</param>
|
|
public GASSALESITEM(DataRow dataRow, IBusinessModel outer) : base(dataRow, outer) { }
|
|
/// <summary>
|
|
/// 构造函数
|
|
/// </summary>
|
|
/// <param name="dataRow">DataTable的数据行</param>
|
|
/// <param name="transaction">事务对象</param>
|
|
public GASSALESITEM(DataRow dataRow, Transaction transaction) : base(dataRow, transaction) { }
|
|
#endregion
|
|
|
|
#region FillCollection 获取集合对象
|
|
/// <summary />
|
|
public List<GASSALESITEM> FillCollection(string whereSQLString, Dictionary<string, object> Parameters = null)
|
|
{
|
|
List<GASSALESITEM> _List = new List<GASSALESITEM>();
|
|
DataTable _DataTable = this.FillDataTable(whereSQLString,Parameters);
|
|
foreach (DataRow _DataRow in _DataTable.Rows)
|
|
{
|
|
using (GASSALESITEM _Item = new GASSALESITEM(_DataRow, this))
|
|
{
|
|
_List.Add(_Item);
|
|
}
|
|
}
|
|
return _List;
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
}
|
|
|