Exemplo n.º 1
0
        public static void Apply(object entity)
        {
            if (entity == null)
            {
                return;
            }

            var metadata = MetadataFactory.GetForType(entity.GetType());

            metadata.ApplyAttributeAction(entity);
        }