CSharpSnapshotGenerator CSharpSnapshotGenerator Class

Syntax

Declaration

public class CSharpSnapshotGeneratorPublic Class CSharpSnapshotGenerator

Inheritance Hierarchy

  • System.Object
    System.Object
  • CSharpSnapshotGenerator
    CSharpSnapshotGenerator

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Methods summary

Constructors

  • CSharpSnapshotGenerator(CSharpHelper)
    CSharpSnapshotGenerator(CSharpHelper)
    public CSharpSnapshotGenerator(CSharpHelper codeHelper)Public Sub New(codeHelper As CSharpHelper)

    Parameters

Methods

  • Generate(String, IModel, IndentedStringBuilder)
    Generate(String, IModel, IndentedStringBuilder)
    public virtual void Generate(string builderName, IModel model, IndentedStringBuilder stringBuilder)Public Overridable Sub Generate(builderName As String, model As IModel, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateAnnotation(IAnnotation, IndentedStringBuilder)
    GenerateAnnotation(IAnnotation, IndentedStringBuilder)
    protected virtual void GenerateAnnotation(IAnnotation annotation, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateAnnotation(annotation As IAnnotation, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateAnnotations(IReadOnlyList<IAnnotation>, IndentedStringBuilder)
    GenerateAnnotations(IReadOnlyList(Of IAnnotation), IndentedStringBuilder)
    protected virtual void GenerateAnnotations(IReadOnlyList<IAnnotation> annotations, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateAnnotations(annotations As IReadOnlyList(Of IAnnotation), stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateBaseType(IEntityType, IndentedStringBuilder)
    GenerateBaseType(IEntityType, IndentedStringBuilder)
    protected virtual void GenerateBaseType(IEntityType baseType, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateBaseType(baseType As IEntityType, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateEntityType(String, IEntityType, IndentedStringBuilder)
    GenerateEntityType(String, IEntityType, IndentedStringBuilder)
    protected virtual void GenerateEntityType(string builderName, IEntityType entityType, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateEntityType(builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateEntityTypeAnnotations(IEntityType, IndentedStringBuilder)
    GenerateEntityTypeAnnotations(IEntityType, IndentedStringBuilder)
    protected virtual void GenerateEntityTypeAnnotations(IEntityType entityType, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateEntityTypeAnnotations(entityType As IEntityType, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateEntityTypes(String, IReadOnlyList<IEntityType>, IndentedStringBuilder)
    GenerateEntityTypes(String, IReadOnlyList(Of IEntityType), IndentedStringBuilder)
    protected virtual void GenerateEntityTypes(string builderName, IReadOnlyList<IEntityType> entityTypes, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateEntityTypes(builderName As String, entityTypes As IReadOnlyList(Of IEntityType), stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateFluentApiForAnnotation(ref List<IAnnotation>, String, String, IndentedStringBuilder)
    GenerateFluentApiForAnnotation(ByRef List(Of IAnnotation), String, String, IndentedStringBuilder)
    protected virtual void GenerateFluentApiForAnnotation(ref List<IAnnotation> annotations, string annotationName, string fluentApiMethodName, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateFluentApiForAnnotation(ByRef annotations As List(Of IAnnotation), annotationName As String, fluentApiMethodName As String, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateForeignKey(IForeignKey, IndentedStringBuilder)
    GenerateForeignKey(IForeignKey, IndentedStringBuilder)
    protected virtual void GenerateForeignKey(IForeignKey foreignKey, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateForeignKey(foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)
    GenerateForeignKeyAnnotations(IForeignKey, IndentedStringBuilder)
    protected virtual void GenerateForeignKeyAnnotations(IForeignKey foreignKey, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateForeignKeyAnnotations(foreignKey As IForeignKey, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateForeignKeys(IEnumerable<IForeignKey>, IndentedStringBuilder)
    GenerateForeignKeys(IEnumerable(Of IForeignKey), IndentedStringBuilder)
    protected virtual void GenerateForeignKeys(IEnumerable<IForeignKey> foreignKeys, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateForeignKeys(foreignKeys As IEnumerable(Of IForeignKey), stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateIndex(IIndex, IndentedStringBuilder)
    GenerateIndex(IIndex, IndentedStringBuilder)
    protected virtual void GenerateIndex(IIndex index, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateIndex(index As IIndex, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateIndexes(IEnumerable<IIndex>, IndentedStringBuilder)
    GenerateIndexes(IEnumerable(Of IIndex), IndentedStringBuilder)
    protected virtual void GenerateIndexes(IEnumerable<IIndex> indexes, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateIndexes(indexes As IEnumerable(Of IIndex), stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateKey(IKey, IndentedStringBuilder, Boolean)
    GenerateKey(IKey, IndentedStringBuilder, Boolean)
    protected virtual void GenerateKey(IKey key, IndentedStringBuilder stringBuilder, bool primary = false)Protected Overridable Sub GenerateKey(key As IKey, stringBuilder As IndentedStringBuilder, primary As Boolean = False)

    Parameters

  • GenerateKeys(IEnumerable<IKey>, IKey, IndentedStringBuilder)
    GenerateKeys(IEnumerable(Of IKey), IKey, IndentedStringBuilder)
    protected virtual void GenerateKeys(IEnumerable<IKey> keys, IKey primaryKey, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateKeys(keys As IEnumerable(Of IKey), primaryKey As IKey, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateProperties(IEnumerable<IProperty>, IndentedStringBuilder)
    GenerateProperties(IEnumerable(Of IProperty), IndentedStringBuilder)
    protected virtual void GenerateProperties(IEnumerable<IProperty> properties, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateProperties(properties As IEnumerable(Of IProperty), stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateProperty(IProperty, IndentedStringBuilder)
    GenerateProperty(IProperty, IndentedStringBuilder)
    protected virtual void GenerateProperty(IProperty property, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateProperty(property As IProperty, stringBuilder As IndentedStringBuilder)

    Parameters

  • GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)
    GeneratePropertyAnnotations(IProperty, IndentedStringBuilder)
    protected virtual void GeneratePropertyAnnotations(IProperty property, IndentedStringBuilder stringBuilder)Protected Overridable Sub GeneratePropertyAnnotations(property As IProperty, stringBuilder As IndentedStringBuilder)

    Parameters

  • GenerateRelationships(String, IEntityType, IndentedStringBuilder)
    GenerateRelationships(String, IEntityType, IndentedStringBuilder)
    protected virtual void GenerateRelationships(string builderName, IEntityType entityType, IndentedStringBuilder stringBuilder)Protected Overridable Sub GenerateRelationships(builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)

    Parameters

  • IgnoreAnnotations(IList<IAnnotation>, String[])
    IgnoreAnnotations(IList(Of IAnnotation), String())
    protected virtual void IgnoreAnnotations(IList<IAnnotation> annotations, params string[] annotationNames)Protected Overridable Sub IgnoreAnnotations(annotations As IList(Of IAnnotation), ParamArray annotationNames As String())

    Parameters

    • annotations
      System.Collections.Generic.IList<T><IAnnotation>
      System.Collections.Generic.IList<T>(Of IAnnotation)
    • annotationNames
      System.String[]
      System.String()

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll