CSharpMigrationCodeGenerator.WriteProperty Method (String, String, IndentedTextWriter)
Generates a property to return the source or target model in the code behind file.
Assembly: EntityFramework (in EntityFramework.dll)
protected virtual void WriteProperty( string name, string value, IndentedTextWriter writer )
Parameters
- name
-
Type:
System.String
Name of the property.
- value
-
Type:
System.String
Value to be returned.
- writer
-
Type:
System.Data.Entity.Migrations.Utilities.IndentedTextWriter
Text writer to add the generated code to.