コード例 #1
0
 /// <summary>
 /// Create a new DocumentType object.
 /// </summary>
 /// <param name="documentTypeID">Initial value of the DocumentTypeID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static DocumentType CreateDocumentType(global::System.Int32 documentTypeID, global::System.String name)
 {
     DocumentType documentType = new DocumentType();
     documentType.DocumentTypeID = documentTypeID;
     documentType.Name = name;
     return documentType;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DocumentTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDocumentTypes(DocumentType documentType)
 {
     base.AddObject("DocumentTypes", documentType);
 }