Sets the column size (for string or blob columns).

Namespace:  Mindscape.NHibernateModelDesigner.Migrations
Assembly:  Mindscape.NHibernateModelDesigner.Migrations (in Mindscape.NHibernateModelDesigner.Migrations.dll)
Version: 3.1.0.0 (3.1.0.0)

Syntax

C#
public ForeignKeyField WithSize(
	int size
)
Visual Basic (Declaration)
Public Function WithSize ( _
	size As Integer _
) As ForeignKeyField

Parameters

size
Type: System..::.Int32
The desired column size.

Return Value

The field, updated with the specified size.

Remarks

This method is equivalent to setting the Size property but provides a fluent interface.

See Also