示例#1
0
        public Load2(Database database, SqlConnection connection, ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded)
        {
            this.database          = database;
            this.connection        = connection;
            this.objectNotLoaded   = objectNotLoaded;
            this.relationNotLoaded = relationNotLoaded;

            this.classByObjectId = new Dictionary <long, IClass>();
        }
示例#2
0
        protected Load(Database database, ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, XmlReader reader)
        {
            this.database          = database;
            this.objectNotLoaded   = objectNotLoaded;
            this.relationNotLoaded = relationNotLoaded;
            this.reader            = reader;

            this.objectTypeByObjectId = new Dictionary <long, IClass>();
        }
示例#3
0
文件: Load.cs 项目: whesius/allors
        internal Load(Database database, ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, XmlReader reader)
        {
            this.database = database;
            this.objectNotLoaded = objectNotLoaded;
            this.relationNotLoaded = relationNotLoaded;
            this.reader = reader;

            this.objectTypeByObjectId = new Dictionary<ObjectId, IObjectType>();
            this.objectVersionByObjectId = new Dictionary<ObjectId, ObjectVersion>();
        }
示例#4
0
        internal Load(Database database, ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, Xml xml)
        {
            this.database          = database;
            this.objectNotLoaded   = objectNotLoaded;
            this.relationNotLoaded = relationNotLoaded;
            this.xml = xml;

            this.objectTypeByObjectId    = new Dictionary <long, IObjectType>();
            this.objectVersionByObjectId = new Dictionary <long, long>();

            this.associationIdByRoleIdByRelationTypeId = new Dictionary <IRelationType, Dictionary <long, long> >();
            this.roleByAssociationIdByRelationTypeId   = new Dictionary <IRelationType, Dictionary <long, object> >();
        }
示例#5
0
 public Load(Database database, ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, XmlReader reader)
     : base(database, objectNotLoaded, relationNotLoaded, reader)
 {
     this.database = database;
 }
示例#6
0
 protected override Sql.Load CreateLoad(ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, System.Xml.XmlReader reader)
 {
     return(new Load(this, objectNotLoaded, relationNotLoaded, reader));
 }
示例#7
0
 private Load CreateLoad(ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, XmlReader reader)
 {
     return new Load(this, objectNotLoaded, relationNotLoaded, reader);
 }
示例#8
0
 protected abstract Load CreateLoad(ObjectNotLoadedEventHandler objectNotLoaded, RelationNotLoadedEventHandler relationNotLoaded, XmlReader reader);