コード例 #1
0
 /// <summary>
 /// Create a new Document object.
 /// </summary>
 /// <param name="documentID">Initial value of the DocumentID property.</param>
 /// <param name="type_DocumentTypeID">Initial value of the Type_DocumentTypeID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Document CreateDocument(global::System.Int32 documentID, global::System.Int32 type_DocumentTypeID, global::System.String name)
 {
     Document document = new Document();
     document.DocumentID = documentID;
     document.Type_DocumentTypeID = type_DocumentTypeID;
     document.Name = name;
     return document;
 }
コード例 #2
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);
 }