public DraftUser(Username dbUsername, int order) : this() { TeamName = dbUsername.TeamName; Username = dbUsername.Username1; DraftOrder = order; ID = dbUsername.User.UserID; }
partial void DeleteUsername(Username instance);
partial void UpdateUsername(Username instance);
partial void InsertUsername(Username instance);
private void detach_Usernames(Username entity) { this.SendPropertyChanging(); entity.User = null; }
private void attach_Usernames(Username entity) { this.SendPropertyChanging(); entity.User = this; }