Delen via


RelationalPropertyExtensions Class

Definition

Extension methods for IProperty for relational database metadata.

public static class RelationalPropertyExtensions
type RelationalPropertyExtensions = class
Public Module RelationalPropertyExtensions
Inheritance
RelationalPropertyExtensions

Methods

IsColumnNullable(IProperty)

Checks whether or not the column mapped to the given IProperty will be nullable or not when created in the database.

This can depend not just on the property itself, but also how it is mapped. For example, non-nullable properties in a TPH type hierarchy will be mapped to nullable columns.

Applies to