partial void DeleteUserEndpoint(UserEndpoint instance);
partial void UpdateUserEndpoint(UserEndpoint instance);
/// <summary> /// Deprecated Method for adding a new object to the UserEndpoints EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserEndpoints(UserEndpoint userEndpoint) { base.AddObject("UserEndpoints", userEndpoint); }
partial void InsertUserEndpoint(UserEndpoint instance);
/// <summary> /// Create a new UserEndpoint object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="endpointTypeId">Initial value of the EndpointTypeId property.</param> /// <param name="isEnabled">Initial value of the IsEnabled property.</param> public static UserEndpoint CreateUserEndpoint(global::System.Int32 userId, global::System.Int32 endpointTypeId, global::System.Boolean isEnabled) { UserEndpoint userEndpoint = new UserEndpoint(); userEndpoint.UserId = userId; userEndpoint.EndpointTypeId = endpointTypeId; userEndpoint.IsEnabled = isEnabled; return userEndpoint; }