Exemplo n.º 1
0
 /// <summary>
 /// Create a new VUserRole object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 /// <param name="roleName">Initial value of the RoleName property.</param>
 public static VUserRole CreateVUserRole(global::System.Int32 userId, global::System.Int32 roleId, global::System.String roleName)
 {
     VUserRole vUserRole = new VUserRole();
     vUserRole.UserId = userId;
     vUserRole.RoleId = roleId;
     vUserRole.RoleName = roleName;
     return vUserRole;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VUserRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVUserRoles(VUserRole vUserRole)
 {
     base.AddObject("VUserRoles", vUserRole);
 }