コード例 #1
0
ファイル: ApplicationData.cs プロジェクト: davilin/LS
 /// <summary>
 /// Deprecated Method for adding a new object to the Charges EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCharges(Charge charge)
 {
     base.AddObject("Charges", charge);
 }
コード例 #2
0
ファイル: ApplicationData.cs プロジェクト: davilin/LS
 /// <summary>
 /// Create a new Charge object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion 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="defendant_Charge">Initial value of the Defendant_Charge property.</param>
 public static Charge CreateCharge(global::System.Int32 id, global::System.Byte[] rowVersion, 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 defendant_Charge)
 {
     Charge charge = new Charge();
     charge.Id = id;
     charge.RowVersion = rowVersion;
     charge.CreateBy = createBy;
     charge.CreateTime = createTime;
     charge.CreateOffice = createOffice;
     charge.ModifyBy = modifyBy;
     charge.ModifyTime = modifyTime;
     charge.ModifyOffice = modifyOffice;
     charge.Defendant_Charge = defendant_Charge;
     return charge;
 }