コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Documents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocuments(Document document)
 {
     base.AddObject("Documents", document);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Document object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="accountID">Initial value of the AccountID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="setDate">Initial value of the SetDate property.</param>
 /// <param name="debt_Credit">Initial value of the Debt_Credit property.</param>
 public static Document CreateDocument(global::System.Int64 id, global::System.Int64 accountID, global::System.String description, global::System.Int64 value, global::System.String date, global::System.String setDate, global::System.Boolean debt_Credit)
 {
     Document document = new Document();
     document.Id = id;
     document.AccountID = accountID;
     document.Description = description;
     document.Value = value;
     document.Date = date;
     document.SetDate = setDate;
     document.Debt_Credit = debt_Credit;
     return document;
 }