ComponentOne DataObjects for .NET
Alias Property

C1.Data.2 Assembly > C1.Data.SchemaObjects Namespace > CompositeDefView Class : Alias Property
Gets or sets the alias used for this table view in the SQL statement generated for fetching rows into the composite table.
Syntax
'Declaration
 
Public Overrides Property Alias As System.String
public override System.string Alias {get; set;}
Remarks
The default value is empty string.

Generated SQL statement must use aliases for constituent simple tables, because a table can occur more than once in a composite table diagram, so its name may be not unique in the statement, in which case it needs aliasing. By default, view table names are used as aliases, but if you want to change the default alias, you can set it.

This is rarely needed, this property is supported only for completeness, since all other names in the generated SQL statement can be controlled by developers using DbTableName and DbTableField.DbFieldName.

See Also

Reference

CompositeDefView Class
CompositeDefView Members
How Composite Table Data is Fetched, Stored and Updated