Exemplo n.º 1
0
 public void Apply(IOneToManyPart oneToManyPart)
 {
     oneToManyPart.KeyColumnNames.Clear();
     oneToManyPart.KeyColumnNames.Add(oneToManyPart.EntityType.Name + "Id");
     oneToManyPart
         .Inverse()
         .AsBag();
 }
 public void Apply(IOneToManyPart oneToManyPart)
 {
     oneToManyPart.KeyColumnNames.Clear();
     oneToManyPart.KeyColumnNames.Add(oneToManyPart.EntityType.Name + "Fk");
     oneToManyPart.LazyLoad();
     oneToManyPart.Inverse();
     //oneToManyPart.Cache.AsNonStrictReadWrite();
 }