/// <summary> /// 用于向 sns_forum_catalog EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTosns_forum_catalog(sns_forum_catalog sns_forum_catalog) { base.AddObject("sns_forum_catalog", sns_forum_catalog); }
/// <summary> /// 创建新的 sns_forum_catalog 对象。 /// </summary> /// <param name="cid">cid 属性的初始值。</param> /// <param name="fatherid">fatherid 属性的初始值。</param> /// <param name="name">name 属性的初始值。</param> public static sns_forum_catalog Createsns_forum_catalog(global::System.Int16 cid, global::System.Int16 fatherid, global::System.String name) { sns_forum_catalog sns_forum_catalog = new sns_forum_catalog(); sns_forum_catalog.cid = cid; sns_forum_catalog.fatherid = fatherid; sns_forum_catalog.name = name; return sns_forum_catalog; }