public ReLabelMetadataDefinitionGroupCommand(Guid identity, MetadataDefinitionGroupName name, MetadataDefinitionGroupDescription description,  TrackingBase tracking)
 {
     _tracking = tracking;
     Identity = identity;
     Name = name;
     Description = description;
 }
示例#2
0
 public EntityProjection(Guid identity, Guid metadataDefinitionGroupIdentity, string name, TrackingBase tracking)
 {
     Identity = identity;
     MetadataDefinitionGroupIdentity = metadataDefinitionGroupIdentity;
     Name = name;
     Tracking = tracking;
 }
 public CreateMetadataDefinitionGroupCommand(Guid identity, string name, string description, MetadataBag bag, TrackingBase tracking)
 {
     Identity = identity;
     Name = name;
     Description = description;
     Tracking = tracking;
     Bag = bag;
 }
        private void SetUpdated()
        {
            if (Tracking == null){
                Tracking = new TrackingBase();

            }

            Tracking.LastModifiedUtcDate = DateTime.UtcNow;
        }
 public MetadataDefinitionProjection(Guid identity, string name,string description, string datatype, string regex, TrackingBase tracking)
 {
     Identity = identity;
     Name = name;
     Description = description;
     DataType = datatype;
     Regex = regex;
     Tracking = tracking;
 }
 public MetadataDefinitionGroupBagProjection()
 {
     Identity = Guid.NewGuid();
     Tracking = new TrackingBase();
 }
 public CreateMetadataDefinitionGroupCommand(Guid identity, string name, string description, TrackingBase tracking)
     : this(identity, name, description, new MetadataBag(), tracking)
 {
 }