25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

26 satır
979B

  1. namespace Campaign_Tracker.Server.LegacyData.Schema;
  2. /// <summary>
  3. /// Represents a single column in a legacy Access table for compatibility checking.
  4. /// All structural attributes (name, type code, declared size, nullability) are part
  5. /// of the comparison signature — any change in any of them is reported as drift.
  6. /// </summary>
  7. public sealed record LegacyColumnDefinition(
  8. string Name,
  9. int TypeCode,
  10. int? Size,
  11. bool Nullable)
  12. {
  13. public IReadOnlyList<string> Constraints { get; init; } = [];
  14. }
  15. /// <summary>
  16. /// Represents a legacy table's full structural definition: the table name plus
  17. /// the ordered list of columns. Column order is preserved from the baseline file
  18. /// but column comparison is name-keyed (order changes are not flagged as drift —
  19. /// schema drift refers to structural deltas, not declaration order).
  20. /// </summary>
  21. public sealed record LegacyTableDefinition(
  22. string Name,
  23. IReadOnlyList<LegacyColumnDefinition> Columns);

Powered by TurnKey Linux.