- Abstract Class mostly used as a base class.
- Abstract class is a class that cannot be instantiated, it exists extensively for inheritance and it must be inherited.
- An Abstract Method of an Abstract Class must be overridden.
- Abstract classes are classes that contain one or more abstract methods (methods without implementation).
- Abstract classes cannot be used to instantiate objects; because abstract classes are incomplete, it may contain only definition of the properties or methods and derived classes that inherit this implements it's properties or methods.
- There are scenarios in which it is useful to define classes that is not intended to instantiate; because such classes normally are used as base-class.
- An abstract method is a method that is declared, but doesn't contain implementation (like method declaration in the interface).
Connected Architecture of ADO.NET The architecture of ADO.net, in which connection must be opened to access the data retrieved from database is called as connected architecture. Connected architecture was built on the classes connection, command, datareader and transaction. Connected architecture is when you constantly make trips to the database for any CRUD (Create, Read, Update and Delete) operation you wish to do. This creates more traffic to the database but is normally much faster as you should be doing smaller transactions. Disconnected Architecture in ADO.NET The architecture of ADO.net in which data retrieved from database can be accessed even when connection to database was closed is called as disconnected architecture. Disconnected architecture of ADO.net was built on classes connection, dataadapter, commandbuilder and dataset and dataview. Disconnected architecture is a method of retrieving a r...
Comments
Post a Comment