Seeding
Each application contains data that should be present already at the first start. In addition, this data may be updated periodically. To provide these opportunities, a mechanism was created called Seed. Information about initialization files is stored in SeedFileSnapshotModel. Each initialization file has a Hash that is calculated during seeding process. The application may compare hashes during seeding and skip the processing of unmodified files. Seed data is stored in Excel files.
namespace Rengine.Initialization.Common.Data.Models
{
public sealed class SeedFileSnapshotModel : RecordModel
{
public Optional<byte[]>? Hash { get; set; }
public Optional<long>? Size { get; set; }
}
}