Ejemplo n.º 1
0
 /// <summary>
 /// 创建新的 vw_aspnet_Roles 对象。
 /// </summary>
 /// <param name="applicationId">ApplicationId 属性的初始值。</param>
 /// <param name="roleId">RoleId 属性的初始值。</param>
 /// <param name="roleName">RoleName 属性的初始值。</param>
 /// <param name="loweredRoleName">LoweredRoleName 属性的初始值。</param>
 public static vw_aspnet_Roles Createvw_aspnet_Roles(global::System.Guid applicationId, global::System.Guid roleId, global::System.String roleName, global::System.String loweredRoleName)
 {
     vw_aspnet_Roles vw_aspnet_Roles = new vw_aspnet_Roles();
     vw_aspnet_Roles.ApplicationId = applicationId;
     vw_aspnet_Roles.RoleId = roleId;
     vw_aspnet_Roles.RoleName = roleName;
     vw_aspnet_Roles.LoweredRoleName = loweredRoleName;
     return vw_aspnet_Roles;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 用于向 vw_aspnet_Roles EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTovw_aspnet_Roles(vw_aspnet_Roles vw_aspnet_Roles)
 {
     base.AddObject("vw_aspnet_Roles", vw_aspnet_Roles);
 }