Skip to main content

MigrationSchema

  • Namespace: PPDS.Migration.Models
  • Assembly: PPDS.Migration
  • Kind: Class

Summary

Parsed migration schema containing entity definitions.

Members

Methods

GetAllLookupFields

IEnumerable<ValueTuple<EntitySchema, FieldSchema>> GetAllLookupFields()

Gets all lookup fields across all entities.

GetAllManyToManyRelationships

IEnumerable<RelationshipSchema> GetAllManyToManyRelationships()

Gets all many-to-many relationships across all entities.

GetEntity

EntitySchema GetEntity(string logicalName)

Gets an entity by its logical name.

  • Param logicalName: The entity logical name.

  • Returns: The entity schema, or null if not found.

Properties

Entities

IReadOnlyList<EntitySchema> Entities { get; set; }

Gets or sets the entity definitions.

GeneratedAt

Nullable<DateTime> GeneratedAt { get; set; }

Gets or sets the timestamp when the schema was generated.

Version

string Version { get; set; }

Gets or sets the schema version.