/// <summary> /// 用于向 sns_system_node EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTosns_system_node(sns_system_node sns_system_node) { base.AddObject("sns_system_node", sns_system_node); }
/// <summary> /// 创建新的 sns_system_node 对象。 /// </summary> /// <param name="id">id 属性的初始值。</param> /// <param name="pid">pid 属性的初始值。</param> /// <param name="name">name 属性的初始值。</param> /// <param name="title">title 属性的初始值。</param> /// <param name="ordernum">ordernum 属性的初始值。</param> /// <param name="level">level 属性的初始值。</param> /// <param name="state">state 属性的初始值。</param> /// <param name="type">type 属性的初始值。</param> /// <param name="selected">selected 属性的初始值。</param> public static sns_system_node Createsns_system_node(global::System.Int32 id, global::System.Int32 pid, global::System.String name, global::System.String title, global::System.Int32 ordernum, global::System.Int32 level, global::System.Int16 state, global::System.String type, global::System.Int16 selected) { sns_system_node sns_system_node = new sns_system_node(); sns_system_node.id = id; sns_system_node.pid = pid; sns_system_node.name = name; sns_system_node.title = title; sns_system_node.ordernum = ordernum; sns_system_node.level = level; sns_system_node.state = state; sns_system_node.type = type; sns_system_node.selected = selected; return sns_system_node; }