예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Telephones EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTelephones(Telephone telephone)
 {
     base.AddObject("Telephones", telephone);
 }
예제 #2
0
 /// <summary>
 /// Create a new Telephone object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="phoneNumber">Initial value of the PhoneNumber property.</param>
 /// <param name="phoneType">Initial value of the PhoneType property.</param>
 /// <param name="is1stPreferNumber">Initial value of the Is1stPreferNumber property.</param>
 /// <param name="is2ndPreferNumber">Initial value of the Is2ndPreferNumber 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="caller_Telephone">Initial value of the Caller_Telephone property.</param>
 public static Telephone CreateTelephone(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String phoneNumber, global::System.String phoneType, global::System.String is1stPreferNumber, global::System.String is2ndPreferNumber, 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 caller_Telephone)
 {
     Telephone telephone = new Telephone();
     telephone.Id = id;
     telephone.RowVersion = rowVersion;
     telephone.PhoneNumber = phoneNumber;
     telephone.PhoneType = phoneType;
     telephone.Is1stPreferNumber = is1stPreferNumber;
     telephone.Is2ndPreferNumber = is2ndPreferNumber;
     telephone.CreateBy = createBy;
     telephone.CreateTime = createTime;
     telephone.CreateOffice = createOffice;
     telephone.ModifyBy = modifyBy;
     telephone.ModifyTime = modifyTime;
     telephone.ModifyOffice = modifyOffice;
     telephone.Caller_Telephone = caller_Telephone;
     return telephone;
 }