예제 #1
0
 /// <summary>
 /// Create a new LeaseContract object.
 /// </summary>
 /// <param name="leaseContractId">Initial value of the LeaseContractId property.</param>
 /// <param name="leaseId">Initial value of the LeaseId property.</param>
 /// <param name="postDateUtc">Initial value of the PostDateUtc property.</param>
 /// <param name="finalText">Initial value of the FinalText property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static LeaseContract CreateLeaseContract(global::System.Int32 leaseContractId, global::System.Int32 leaseId, global::System.DateTime postDateUtc, global::System.String finalText, global::System.DateTime createDate, global::System.String createdBy, global::System.Boolean isDeleted)
 {
     LeaseContract leaseContract = new LeaseContract();
     leaseContract.LeaseContractId = leaseContractId;
     leaseContract.LeaseId = leaseId;
     leaseContract.PostDateUtc = postDateUtc;
     leaseContract.FinalText = finalText;
     leaseContract.CreateDate = createDate;
     leaseContract.CreatedBy = createdBy;
     leaseContract.IsDeleted = isDeleted;
     return leaseContract;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the LeaseContracts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLeaseContracts(LeaseContract leaseContract)
 {
     base.AddObject("LeaseContracts", leaseContract);
 }