예제 #1
0
 /// <summary>
 /// Create a new LandlordInfo object.
 /// </summary>
 /// <param name="landlordInfoId">Initial value of the LandlordInfoId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="allowPhone">Initial value of the AllowPhone property.</param>
 /// <param name="allowEmail">Initial value of the AllowEmail property.</param>
 /// <param name="backgroundCreditStatus">Initial value of the BackgroundCreditStatus property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static LandlordInfo CreateLandlordInfo(global::System.Int64 landlordInfoId, global::System.Guid userId, global::System.Boolean allowPhone, global::System.Boolean allowEmail, global::System.String backgroundCreditStatus, global::System.Boolean isDeleted)
 {
     LandlordInfo landlordInfo = new LandlordInfo();
     landlordInfo.LandlordInfoId = landlordInfoId;
     landlordInfo.UserId = userId;
     landlordInfo.AllowPhone = allowPhone;
     landlordInfo.AllowEmail = allowEmail;
     landlordInfo.BackgroundCreditStatus = backgroundCreditStatus;
     landlordInfo.IsDeleted = isDeleted;
     return landlordInfo;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LandlordInfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLandlordInfoes(LandlordInfo landlordInfo)
 {
     base.AddObject("LandlordInfoes", landlordInfo);
 }