Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TaskEvent
- {
- public DateTime StartDate {get;set;}
- public DateTime EndDate {get;set;}
- }
- session.CreateQuery("UPDATE TaskEvent SET ... WHERE ID = :ID and ...")
- .SetInt32("ID", ID)
- //.SetDateTime("", )
- //.SetDateTime("", )
- .ExecuteUpdate();
Add Comment
Please, Sign In to add comment