Example #1
0
 /// <summary>
 /// 创建新的 Sys_NewsClass 对象。
 /// </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_NewsClass CreateSys_NewsClass(global::System.Int32 classID, global::System.Int32 parentID, global::System.Int32 classDepth, global::System.Int32 classOrder, global::System.Int32 isDelete)
 {
     Sys_NewsClass sys_NewsClass = new Sys_NewsClass();
     sys_NewsClass.ClassID = classID;
     sys_NewsClass.ParentID = parentID;
     sys_NewsClass.ClassDepth = classDepth;
     sys_NewsClass.ClassOrder = classOrder;
     sys_NewsClass.IsDelete = isDelete;
     return sys_NewsClass;
 }
Example #2
0
 /// <summary>
 /// 用于向 Sys_NewsClass EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSys_NewsClass(Sys_NewsClass sys_NewsClass)
 {
     base.AddObject("Sys_NewsClass", sys_NewsClass);
 }