public void CreateFlaggedPicture(FlaggedPicture data) { DatabaseDataContext context = new DatabaseDataContext(); context.FlaggedPictures.InsertOnSubmit(data); context.SubmitChanges(); }
private void detach_FlaggedPictures(FlaggedPicture entity) { this.SendPropertyChanging(); entity.User = null; }
partial void DeleteFlaggedPicture(FlaggedPicture instance);
partial void UpdateFlaggedPicture(FlaggedPicture instance);
partial void InsertFlaggedPicture(FlaggedPicture instance);
private void attach_FlaggedPictures(FlaggedPicture entity) { this.SendPropertyChanging(); entity.Picture = this; }