Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlServerMigrationSqlGenerator::GuidColumnDefault Property

Entity Framework 6.0
 

Returns the column default value to use for store-generated GUID columns when no default value is explicitly specified in the migration. Returns newsequentialid() for on-premises SQL Server 2005 and later. Returns newid() for SQL Azure.

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

protected:
property String^ GuidColumnDefault {
	virtual String^ get();
}

Property Value

Type: System::String^

Either newsequentialid() or newid() as described above.

Return to top
Show: