Esempio n. 1
0
 /// <summary>
 /// 创建新的 DocumentManage 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="name">Name 属性的初始值。</param>
 /// <param name="catalog">Catalog 属性的初始值。</param>
 /// <param name="content">Content 属性的初始值。</param>
 /// <param name="uRL">URL 属性的初始值。</param>
 /// <param name="docManageStateID">DocManageStateID 属性的初始值。</param>
 /// <param name="handeTime">HandeTime 属性的初始值。</param>
 /// <param name="docCheckStateID">DocCheckStateID 属性的初始值。</param>
 public static DocumentManage CreateDocumentManage(global::System.Int32 id, global::System.String name, global::System.String catalog, global::System.String content, global::System.String uRL, global::System.Int32 docManageStateID, global::System.String handeTime, global::System.Int32 docCheckStateID)
 {
     DocumentManage documentManage = new DocumentManage();
     documentManage.ID = id;
     documentManage.Name = name;
     documentManage.Catalog = catalog;
     documentManage.Content = content;
     documentManage.URL = uRL;
     documentManage.DocManageStateID = docManageStateID;
     documentManage.HandeTime = handeTime;
     documentManage.DocCheckStateID = docCheckStateID;
     return documentManage;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 DocumentManages EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToDocumentManages(DocumentManage documentManage)
 {
     base.AddObject("DocumentManages", documentManage);
 }