Exemplo n.º 1
0
        internal void AddRelation(IModl to)
        {
            foreach (LinkProperty property in Definitions.Properties.Where(x => x.IsLink && to.GetType() == (x as LinkProperty).LinkedModlType))
            {
                Backer.GetRelation(property.PropertyName).Add(to.Modl.Id);
            }

            WriteRelationsToAllInstances();
        }
Exemplo n.º 2
0
        internal static void AddRelation(M from, IModl to)
        {
            Sync(from);

            InstanceStore.Get(from.Modl.Id).AddRelation(to);
        }
Exemplo n.º 3
0
 internal BaseCollection(string name, IModl m)
 {
     this.Name         = name;
     this.ModlInstance = m;
 }
Exemplo n.º 4
0
 internal ModlValue(string name, IModl m) : base(name, m)
 {
 }
Exemplo n.º 5
0
 internal ModlCollection(string name, IModl m) : base(name, m)
 {
 }
Exemplo n.º 6
0
 public Query(IModl owner)
 {
     this.owner = owner;
 }