PropertyMetadata(PropertyInfo) Constructor

Definition

Use this constructor when the model is being used without datacontext. It will set the property as: Non primary Non foreign key. Non autogenerated Writable Non Enum type

public:
 PropertyMetadata(System::Reflection::PropertyInfo ^ property);
public PropertyMetadata (System.Reflection.PropertyInfo property);
new Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.PropertyMetadata : System.Reflection.PropertyInfo -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.PropertyMetadata
Public Sub New (property As PropertyInfo)

Parameters

property
PropertyInfo

Applies to