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