AutoPoco.Conventions.GuidPropertyConvention.Apply C# (CSharp) Method

Apply() public method

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