Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command.CommandTimeout = 5;
- public class DataBaseLayer ()
- {
- public DataBaseLayer()
- { /* check for appSetting here and throw a SqlServerMaintenanceModeException exception (custom exception) */}
- }
- public class EmployeeDataLayer : DataBaseLayer ()
- {
- public EmployeeDataLayer() : base ()
- }
- public class SqlServerMaintenanceModeException : ApplicationException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement