PropertyMetadata(PropertyInfo) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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