Difference between edit and display method
Display Indicates that the method's return value is to be displayed on a form or a report.
The value cannot be altered in the form or report
Edit Indicates
that the method's return type is to be used to provide information for a
field that is used in In a form. The value in the field can be
edited.
Difference between perspectives and table collection
Perspectives can organize information for a report model in the Application Object Tree (AOT).
A perspective is a collection of tables. You use a report model to create reports.
Table collection is a collection of table, which sharing across all the virtual companies.
How can we restrict a class to be further extended?
using Final Keyword for ex: public final class <ClassName>
Difference between arrays and containers
Arrays: An array is a list of items with same
data type and the same name only the index differs,
Containers: A Container is a dynamic list of
items containing primitive data types and /or some composite data types
what is difference between unique index and primary index
Primary Key uniquely identifies the record and the
UNIQUE index on the primary key ensures that no duplicates
Values will be stored in the table
1)Primary key creates an implicit clustered index on a table,
unique key does not create any implicit index.
2)Columns defined as primary key does not allow null values,
where as columns defined as unique can allow null values.
3)A table can have just one primary key (can be a composite key)
where as there can be multiple unique columns (keys).
4)Primary key is a unique key with the above mentioned features
http://msdn.microsoft.com/en-us/library/aa656402.aspx
No comments:
Post a Comment