Inheritance: System.Data.Objects.DataClasses.EntityObject
コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerDocumentURLs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerDocumentURLs(CustomerDocumentURL customerDocumentURL)
 {
     base.AddObject("CustomerDocumentURLs", customerDocumentURL);
 }
コード例 #2
0
 /// <summary>
 /// Create a new CustomerDocumentURL object.
 /// </summary>
 /// <param name="customerDocumentURLId">Initial value of the CustomerDocumentURLId property.</param>
 /// <param name="createdByUsername">Initial value of the CreatedByUsername property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="edited">Initial value of the Edited property.</param>
 public static CustomerDocumentURL CreateCustomerDocumentURL(global::System.Guid customerDocumentURLId, global::System.String createdByUsername, global::System.DateTime createdDate, global::System.String status, global::System.Boolean edited)
 {
     CustomerDocumentURL customerDocumentURL = new CustomerDocumentURL();
     customerDocumentURL.CustomerDocumentURLId = customerDocumentURLId;
     customerDocumentURL.CreatedByUsername = createdByUsername;
     customerDocumentURL.CreatedDate = createdDate;
     customerDocumentURL.Status = status;
     customerDocumentURL.Edited = edited;
     return customerDocumentURL;
 }