AutoPoco.Conventions.GuidPropertyConvention.Apply C# (CSharp) Méthode

Apply() public méthode

public Apply ( ITypePropertyConventionContext context ) : void
context ITypePropertyConventionContext
Résultat void
        public void Apply(ITypePropertyConventionContext context)
        {
            context.SetValue(Guid.NewGuid());
        }
GuidPropertyConvention