Export (0) Print
Expand All

TableBuilder<TColumns> Class

Entity Framework 5.0

Helper class that is used to further configure a table being created from a CreateTable call on DbMigration.

System.Object
  System.Data.Entity.Migrations.Builders.TableBuilder<TColumns>

Namespace:  System.Data.Entity.Migrations.Builders
Assembly:  EntityFramework (in EntityFramework.dll)

public class TableBuilder<TColumns>

Type Parameters

TColumns

The type for the columns in the table.

The TableBuilder<TColumns> type exposes the following members.

  NameDescription
Public methodTableBuilder<TColumns>Initializes a new instance of the TableBuilder<TColumns> class.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodForeignKeySpecifies a foreign key constraint to be created on the table.
Public methodGetHashCodeGets the hash code for the current object. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type of the current object.
Public methodIndexSpecifies an index to be created on the table.
Protected methodMemberwiseCloneCreates a shallow copy of the current object.
Public methodPrimaryKeySpecifies a primary key for the table.
Public methodToStringReturns a string representation of the current object. (Overrides Object.ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft