Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Callers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCallers(Caller caller)
 {
     base.AddObject("Callers", caller);
 }
Пример #2
0
 /// <summary>
 /// Create a new Caller 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="lastName">Initial value of the LastName property.</param>
 /// <param name="gender">Initial value of the Gender property.</param>
 /// <param name="relationship">Initial value of the Relationship property.</param>
 /// <param name="relationshipOther">Initial value of the RelationshipOther 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_Caller">Initial value of the WorkSheet_Caller property.</param>
 public static Caller CreateCaller(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String firstName, global::System.String lastName, global::System.String gender, global::System.String relationship, global::System.String relationshipOther, 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_Caller)
 {
     Caller caller = new Caller();
     caller.Id = id;
     caller.RowVersion = rowVersion;
     caller.FirstName = firstName;
     caller.LastName = lastName;
     caller.Gender = gender;
     caller.Relationship = relationship;
     caller.RelationshipOther = relationshipOther;
     caller.CreateBy = createBy;
     caller.CreateTime = createTime;
     caller.CreateOffice = createOffice;
     caller.ModifyBy = modifyBy;
     caller.ModifyTime = modifyTime;
     caller.ModifyOffice = modifyOffice;
     caller.WorkSheet_Caller = workSheet_Caller;
     return caller;
 }