Gets or sets a boolean indicating if only values in the discriminator column that
are mapped will be included in the sql.
Namespace: NHibernate.MappingAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public virtual bool IsForceDiscriminator { get; set; } |
Visual Basic |
---|
Public Overridable Property IsForceDiscriminator As Boolean Get Set |
Visual C++ |
---|
public: virtual property bool IsForceDiscriminator { bool get (); void set (bool value); } |
Field Value
trueTruetruetrue (True in Visual Basic) if the mapped discriminator values should be forced.Remarks
The value of this is set by the force attribute on the discriminator element.