Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. command.CommandTimeout = 5;
  2.  
  3. public class DataBaseLayer ()
  4. {
  5.  
  6. public DataBaseLayer()
  7. { /* check for appSetting here and throw a SqlServerMaintenanceModeException exception (custom exception) */}
  8.  
  9. }
  10.  
  11.  
  12. public class EmployeeDataLayer : DataBaseLayer ()
  13. {
  14. public EmployeeDataLayer() : base ()
  15. }
  16.  
  17. public class SqlServerMaintenanceModeException : ApplicationException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement