private void Init(ShContext context) { int _i = 1; foreach (Set _set in context.GetSets()) { if (_i < context.SetsCount) { foreach (Set _other in context.GetSets(_i++)) { FindRelationsFromT1ToT2(_set.Type, _other.Type); FindRelationsFromT1ToT2(_other.Type, _set.Type); } } } }
public PropertyPrimitiveProxy(ShContext context, PropertyInfo prInfo, ClassProxy parent) : base(context, prInfo, parent) { }
public PropertyPrimitiveProxy(ShContext context) : base(context) { }
public DBLoader(DBConnection connection, ShContext context) { Connection = connection; Context = context; }
public DBSaveChanges(ShContext context, DBConnection connection) { __context = context ?? throw new ArgumentNullException("context"); __connection = connection ?? throw new ArgumentNullException("connection"); }
public DBCreation(DBConnection _connection, ShContext _context) { __connection = _connection; __context = _context; }
/// <summary> /// Se construit en identifiant toutes les relations entre tous les types /// représentés dans le <see cref="ShContext"/> context. /// </summary> public ContextRelations(ShContext context) { Init(context); }