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