コード例 #1
0
ファイル: ApplicationData.cs プロジェクト: davilin/LS
 /// <summary>
 /// Deprecated Method for adding a new object to the ChargeDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChargeDetails(ChargeDetail chargeDetail)
 {
     base.AddObject("ChargeDetails", chargeDetail);
 }
コード例 #2
0
ファイル: ApplicationData.cs プロジェクト: davilin/LS
 /// <summary>
 /// Create a new ChargeDetail object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="caseNumber">Initial value of the CaseNumber property.</param>
 /// <param name="chargeName">Initial value of the ChargeName property.</param>
 /// <param name="bondAmount">Initial value of the BondAmount property.</param>
 /// <param name="preminum">Initial value of the Preminum property.</param>
 /// <param name="fax">Initial value of the Fax property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="post">Initial value of the Post property.</param>
 /// <param name="misc">Initial value of the Misc property.</param>
 /// <param name="admin">Initial value of the Admin property.</param>
 /// <param name="research">Initial value of the Research property.</param>
 /// <param name="transfer">Initial value of the Transfer property.</param>
 /// <param name="discount">Initial value of the Discount property.</param>
 /// <param name="total">Initial value of the Total property.</param>
 /// <param name="createBy">Initial value of the CreateBy property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 /// <param name="createOffice">Initial value of the CreateOffice property.</param>
 /// <param name="modifyBy">Initial value of the ModifyBy property.</param>
 /// <param name="modifyTime">Initial value of the ModifyTime property.</param>
 /// <param name="modifyOffice">Initial value of the ModifyOffice property.</param>
 /// <param name="charge_ChargeDetail">Initial value of the Charge_ChargeDetail property.</param>
 public static ChargeDetail CreateChargeDetail(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String caseNumber, global::System.String chargeName, global::System.String bondAmount, global::System.String preminum, global::System.String fax, global::System.String state, global::System.String post, global::System.String misc, global::System.String admin, global::System.String research, global::System.String transfer, global::System.String discount, global::System.String total, global::System.String createBy, global::System.DateTime createTime, global::System.String createOffice, global::System.String modifyBy, global::System.DateTime modifyTime, global::System.String modifyOffice, global::System.Int32 charge_ChargeDetail)
 {
     ChargeDetail chargeDetail = new ChargeDetail();
     chargeDetail.Id = id;
     chargeDetail.RowVersion = rowVersion;
     chargeDetail.CaseNumber = caseNumber;
     chargeDetail.ChargeName = chargeName;
     chargeDetail.BondAmount = bondAmount;
     chargeDetail.Preminum = preminum;
     chargeDetail.Fax = fax;
     chargeDetail.State = state;
     chargeDetail.Post = post;
     chargeDetail.Misc = misc;
     chargeDetail.Admin = admin;
     chargeDetail.Research = research;
     chargeDetail.Transfer = transfer;
     chargeDetail.Discount = discount;
     chargeDetail.Total = total;
     chargeDetail.CreateBy = createBy;
     chargeDetail.CreateTime = createTime;
     chargeDetail.CreateOffice = createOffice;
     chargeDetail.ModifyBy = modifyBy;
     chargeDetail.ModifyTime = modifyTime;
     chargeDetail.ModifyOffice = modifyOffice;
     chargeDetail.Charge_ChargeDetail = charge_ChargeDetail;
     return chargeDetail;
 }