Defines a strategy for resolving database names.

C# | Visual Basic |
public interface INamingStrategy
Public Interface INamingStrategy

All Members | Methods | ||||
Icon | Member | Description |
---|---|---|
![]() | GetCreatedOnColumnName(String, String, String) |
Gets the name of the column used for a record creation timestamp.
The default name is "CreatedOn".
|
![]() | GetIdColumnName(String, String, String) |
Gets the name of the primary key column. The default is "Id".
|
![]() | GetLockVersionColumnName(String, String, String) |
Gets the name of the lock version column used for Optimistic Concurrency.
The default name is "LockVersion".
|
![]() | GetSoftDeleteColumnName(String, String, String) |
Gets the name of the column used for soft delete.
The default name is "DeletedOn".
|
![]() | GetTableName(String, String) |
Gets the table name.
|
![]() | GetUpdatedOnColumnName(String, String, String) |
Gets the name of the column used for a record update timestamp.
The default name is "UpdatedOn".
|