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