Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Defendants EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDefendants(Defendant defendant)
 {
     base.AddObject("Defendants", defendant);
 }
Example #2
0
 /// <summary>
 /// Create a new Defendant object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="middleName">Initial value of the MiddleName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 /// <param name="race">Initial value of the Race 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="workSheet_Defendant">Initial value of the WorkSheet_Defendant property.</param>
 public static Defendant CreateDefendant(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String firstName, global::System.String middleName, global::System.String lastName, global::System.String gender, global::System.String race, 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 workSheet_Defendant)
 {
     Defendant defendant = new Defendant();
     defendant.Id = id;
     defendant.RowVersion = rowVersion;
     defendant.FirstName = firstName;
     defendant.MiddleName = middleName;
     defendant.LastName = lastName;
     defendant.Gender = gender;
     defendant.Race = race;
     defendant.CreateBy = createBy;
     defendant.CreateTime = createTime;
     defendant.CreateOffice = createOffice;
     defendant.ModifyBy = modifyBy;
     defendant.ModifyTime = modifyTime;
     defendant.ModifyOffice = modifyOffice;
     defendant.WorkSheet_Defendant = workSheet_Defendant;
     return defendant;
 }