Ejemplo n.º 1
0
        public void CheckSemantics(IDslModel existingConcepts)
        {
            DslUtility.ValidatePath(Computation, ReferencePath, existingConcepts, this);
            var persistedEntities = existingConcepts.FindByReference <EntityComputedFromInfo>(cf => cf.Source, Computation)
                                    .Select(cf => cf.Target);

            foreach (var persisted in persistedEntities)
            {
                DslUtility.ValidatePath(persisted, ReferencePath, existingConcepts, this);
            }
        }
Ejemplo n.º 2
0
 public void CheckSemantics(IDslModel existingConcepts)
 {
     DslUtility.ValidatePath(DerivedProperty.DataStructure, Path, existingConcepts, this);
 }
 public void CheckSemantics(IDslModel existingConcepts)
 {
     DslUtility.ValidatePath(Browse.Source, Path, existingConcepts, this);
     DslUtility.ValidateIdentifier(Name, this, "Specify a valid name before the path, to override the generated name.");
 }
Ejemplo n.º 4
0
 public void CheckSemantics(IDslModel existingConcepts)
 {
     DslUtility.ValidatePath(LoadOldItems.SaveMethod.Entity, Path, existingConcepts, this);
     DslUtility.ValidateIdentifier(GetPropertyName(), this);
 }