Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using HR.Data;
- namespace HR
- {
- public static void Main(String[] args)
- {
- using (var ctx = new TeachersRepository())
- {
- var dbs = ctx.GetByTeacherRank(0);
- dbs.Resigned = true;
- ctx.SaveWithRegret(dbs);
- ctx.ReallySaveThisTime(dbs);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement