Наследование: System.Data.Objects.DataClasses.EntityObject
Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Document EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocument(Document document)
 {
     base.AddObject("Document", document);
 }
Пример #2
0
 /// <summary>
 /// Create a new Document object.
 /// </summary>
 /// <param name="documentId">Initial value of the DocumentId property.</param>
 public static Document CreateDocument(global::System.Int32 documentId)
 {
     Document document = new Document();
     document.DocumentId = documentId;
     return document;
 }