Exemplo n.º 1
0
 /// <summary>
 /// 创建新的 Sys_SightClass 对象。
 /// </summary>
 /// <param name="classID">ClassID 属性的初始值。</param>
 /// <param name="parentID">ParentID 属性的初始值。</param>
 /// <param name="classDepth">ClassDepth 属性的初始值。</param>
 /// <param name="classOrder">ClassOrder 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 public static Sys_SightClass CreateSys_SightClass(global::System.Int32 classID, global::System.Int32 parentID, global::System.Int32 classDepth, global::System.Int32 classOrder, global::System.Int32 isDelete)
 {
     Sys_SightClass sys_SightClass = new Sys_SightClass();
     sys_SightClass.ClassID = classID;
     sys_SightClass.ParentID = parentID;
     sys_SightClass.ClassDepth = classDepth;
     sys_SightClass.ClassOrder = classOrder;
     sys_SightClass.IsDelete = isDelete;
     return sys_SightClass;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 用于向 Sys_SightClass EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSys_SightClass(Sys_SightClass sys_SightClass)
 {
     base.AddObject("Sys_SightClass", sys_SightClass);
 }