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