Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmailAddresses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmailAddresses(EmailAddress emailAddress)
 {
     base.AddObject("EmailAddresses", emailAddress);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new EmailAddress object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="email">Initial value of the Email 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>
 public static EmailAddress CreateEmailAddress(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String email, global::System.String createBy, global::System.DateTime createTime, global::System.String createOffice, global::System.String modifyBy, global::System.DateTime modifyTime, global::System.String modifyOffice)
 {
     EmailAddress emailAddress = new EmailAddress();
     emailAddress.Id = id;
     emailAddress.RowVersion = rowVersion;
     emailAddress.Email = email;
     emailAddress.CreateBy = createBy;
     emailAddress.CreateTime = createTime;
     emailAddress.CreateOffice = createOffice;
     emailAddress.ModifyBy = modifyBy;
     emailAddress.ModifyTime = modifyTime;
     emailAddress.ModifyOffice = modifyOffice;
     return emailAddress;
 }