/// <summary> /// 用于向 Sys_MvcControllerClass EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToSys_MvcControllerClass(Sys_MvcControllerClass sys_MvcControllerClass) { base.AddObject("Sys_MvcControllerClass", sys_MvcControllerClass); }
/// <summary> /// 创建新的 Sys_MvcControllerClass 对象。 /// </summary> /// <param name="id">Id 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> /// <param name="state">State 属性的初始值。</param> /// <param name="sortNum">SortNum 属性的初始值。</param> public static Sys_MvcControllerClass CreateSys_MvcControllerClass(global::System.Int32 id, global::System.DateTime addTime, global::System.Boolean state, global::System.Int32 sortNum) { Sys_MvcControllerClass sys_MvcControllerClass = new Sys_MvcControllerClass(); sys_MvcControllerClass.Id = id; sys_MvcControllerClass.AddTime = addTime; sys_MvcControllerClass.State = state; sys_MvcControllerClass.SortNum = sortNum; return sys_MvcControllerClass; }