/// <summary> /// 创建新的 DocLocalScope 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="documentManageID">DocumentManageID 属性的初始值。</param> /// <param name="visualScope">VisualScope 属性的初始值。</param> public static DocLocalScope CreateDocLocalScope(global::System.Int32 id, global::System.Int32 documentManageID, global::System.String visualScope) { DocLocalScope docLocalScope = new DocLocalScope(); docLocalScope.ID = id; docLocalScope.DocumentManageID = documentManageID; docLocalScope.VisualScope = visualScope; return docLocalScope; }
/// <summary> /// 用于向 DocLocalScopes EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToDocLocalScopes(DocLocalScope docLocalScope) { base.AddObject("DocLocalScopes", docLocalScope); }