Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
events
|
represent responses to the object by external actions; change of state
|
|
What is the location of mdf file?
|
database files; DATA folder in MSSQL
|
|
What is a dataset?
|
In-memory copy of data pulled from database.
|
|
Explain One to Many relationship
|
Primary key column of one table links to a foreign key column in another table; eg: one value in Departments may match many values in Employees
|
|
Explain the steps in a Delegate
|
1) Define - Creates a new class that inherits from a system.
Public Delegate Sub GreetingDelegate(ByVal MsgString As String) 2) Instantiate - assigns an address to a delegate Dim MyGreetings As GreetingDelegate MyGreetings = AddressOf GoodMorning 3) Invoke - invokes action MyGreetings.Invoke("Raj") |
|
Which table in a relationship contains a foreign key: parent or child?
|
child
|
|
In what type of relationship is a foreign key used as a linking field in both tables.
|
many-to-many
|
|
How do you create an alternative column name (an alias) when creating a LINQ query?
|
Alias = tblName.Column_Name
|
|
Name and explain three types of database constraints mentioned in the chapter 5.
|
Primary key constraint
Column check constraint Referential integrity constraint (aka Reference constraint) |
|
Primary key constraint
|
requires that all values in a primary key must be unique
|
|
Column check constraint
|
defines whether data are valid when adding/updating an entry in a table; applied to each table row; eg: values in "Salary" column must be positive
|
|
Referential integrity constraint (aka Reference constraint)
|
applies to relationship between 2 tables with the one-to-many relationship; parent table required to contain primary key value that matches each foreign key value found in the child table
|
|
Classes generally have
|
1) class header (keyword and identifiers)
2) body |
|
What is the difference between a Class and an Object?
|
- Class: A design template for objects; defines which properties, methods, and events can be applied to its objects
- Object: A container for members such as properties, fields, methods, and events; often represents an entity in a real-world application |
|
Objects are also known as...
|
instances
|