Ejemplo n.º 1
0
        /// <summary>
        /// Create a new UsersRole object.
        /// </summary>
        /// <param name="recordId">Initial value of the RecordId property.</param>
        /// <param name="individualClientRecordId">Initial value of the IndividualClientRecordId property.</param>
        /// <param name="roleId">Initial value of the RoleId property.</param>
        public static UsersRole CreateUsersRole(global::System.Int64 recordId, global::System.Int64 individualClientRecordId, global::System.Int32 roleId)
        {
            UsersRole usersRole = new UsersRole();

            usersRole.RecordId = recordId;
            usersRole.IndividualClientRecordId = individualClientRecordId;
            usersRole.RoleId = roleId;
            return(usersRole);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UsersRoles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsersRoles(UsersRole usersRole)
 {
     base.AddObject("UsersRoles", usersRole);
 }