ADO.NET is a data access technology from Microsoft that provides communication between relational and non-relational systems through common components. It allows programs written in different languages to share classes and uses object-oriented programming principles. Key classes in ADO.NET include Connection, which controls connections to databases, and Dataset, which offers common functions for metadata. Serialization converts objects to bytes for storage or transmission, while deserialization reconstructs objects from data.
1. 1 ថនសារិ
ADO.NET Review
2. Give the Definition
ADO.NET is a data access technology from the Microsoft .NET Framework that provides communication between
relational and non-relational systems through a common set of components.
CLR (Common Language Runtime) is programming that manages the execution of programs written in any of several
supported languages, allowing them to share common object-oriented class es written in any of the languages.
OOP (Object-oriented programming) is a programming paradigm based on the concept of "objects", which may
contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as
methods.
POP (Post Office Protocol) is an internet standard that defines an email server (the POP server) and a way to retrieve
mail from it (using a POP client).
DLL (Dynamic-link library) is Microsoft's implementation of the shared library concept in the Microsoft Windows and
OS/2 operating systems.
Command class is a construct that encapsulates the semantic information of an action. The behavior that the command
activates is not encapsulated in this object.
Connection class is a class that contains methods that control the connection to a database. ... Creates a
CallableStatement object for calling database stored procedures.
Adapter class is a class that provides the default implementation of all methods in an event listener interface.
Dataset class is a base class that offers a number of functions common to all types of metadata datasets.
StreamWriter Class is a class that designed for character output in a particular encoding, whereas classes derived from
Stream are designed for byte input and output.
StreamReader class is a class that designed for character input in a particular encoding, whereas the Stream class is
designed for byte input and output.
ArrayList class is a class that extends AbstractList and implements the List interface.
Transaction class is views display information about the operational characteristics for transactions belonging to the
class.
Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to
memory, a database, or a file.
Database caching is a process included in the design of computer applications which generate web pages on-demand
(dynamically) by accessing backend databases.
Try Catch is block contains set of statements where an exception can occur.
Deserialization is the reverse process; taking the raw data (from a file, from an incoming network socket, etc) and
reconstructing the object model.
Text file is a kind of computer file that is structured as a sequence of lines of electronic text.
Binary file is a computer file that is not a text file. The term "binary file" is often used as a term meaning "non-text file".
THIS is a Keyword that reference variable in Java that refers to the current object.
2. 2 ថនសារិ
Base is used to access members of the base class from within a derived class:1. Call a method on the base class that has
been overridden by another method.
Private is a Java keyword which declares a member's access as private. That is, the member is only visible within the
class, not from any other class (including subclasses).
protected is keyword that access modifier, used before a method or other class member to signify that the method
or variable can only be accessed by elements residing in its own class or classes in the same package (as it would be for
the default visibility level) but moreover from subclasses of its own class, including subclasses in foreign packages (if the
access is made on an expression, whose type is the type of this subclass).
Internal is an access modifier for types and type members.
Protected internal is an access modifier is a union of both the "protected" and "internal" modifiers.
Static is a reserved word controlling both lifetime (as a static variable) and visibility (depending on linkage).
Void is keyword used in method signatures to declare a method that does not return a value.
Public is a keyword that is used as an access modifier for methods and variables.
3. List down the components:
Data Type in C#
Bool, byte, char, decimal, double, float, int, long, sbyte, short, uint, ulong, ushort,
NameSpace in C#
Station Namespace, Nested Namespace, Calling Namespace ,collation Namespace,
Key points in C#
When collecting personal data provide a privacy notice detailing how data are used, with
whom they are shared, and the retention period;
If someone asks to see information the University holds about them or queries our use of
information about them, contact your local information practitioner as soon as possible;
Keep personal data securely, e.g. use strong passwords, encrypt data not held on
University networks, and ensure you send emails to the correct recipient;
Always do a privacy impact assessment when you plan a new project or review an
existing process so privacy requirements can be met by design;
Do not keep personal data longer than necessary; refer to the relevant retention schedule.
Class name in C#
Constructors
Destructors
Fields
Methods
Properties
Indexers
Delegates
Events
Nested Classes