Exemplo n.º 1
0
        private void IQConstructor(IClassInfoConstructor data)
        {
            var query = data.Query;
            query.Select = "PK,FirstName,HowMuch";
            query.From = "testTableConstructorView";
            query.Where.Set( "defaultWhere=1");
            query.TableName = "testTableConstructor";

            query.PrimaryKey = "pk";
        }
Exemplo n.º 2
0
        private void IQConstructor(IClassInfoConstructor data)
        {
            var query = data.Query;

            query.Select = "PK,FirstName,HowMuch";
            query.From   = "testTableConstructorView";
            query.Where.Set("defaultWhere=1");
            query.TableName = "testTableConstructor";

            query.PrimaryKey = "pk";
        }
Exemplo n.º 3
0
            protected void IQConstructor(IClassInfoConstructor dbInfo)
            {
                base.Constructor(dbInfo);

                dbInfo.AddEventHandler(IQEventType.BeforeDelete, Event);
                dbInfo.AddEventHandler(IQEventType.BeforeInsert, Event);
                dbInfo.AddEventHandler(IQEventType.BeforeSave, Event);
                dbInfo.AddEventHandler(IQEventType.BeforeUpdate, Event);
                dbInfo.AddEventHandler(IQEventType.OnDelete, Event);
                dbInfo.AddEventHandler(IQEventType.OnInsert, Event);
                dbInfo.AddEventHandler(IQEventType.OnLoad, Event);
                dbInfo.AddEventHandler(IQEventType.OnSave, Event);
                dbInfo.AddEventHandler(IQEventType.OnUpdate, Event);
            }
Exemplo n.º 4
0
Arquivo: Dog.cs Projeto: vebin/IQMap
 protected virtual void Constructor(IClassInfoConstructor data)
 {
     data.Query.TableName  = "animals";
     data.Query.PrimaryKey = "PK";
 }
Exemplo n.º 5
0
Arquivo: Dog.cs Projeto: vebin/IQMap
 protected virtual void Constructor(IClassInfoConstructor data)
 {
     data.Query.TableName  = "animals";
     data.Query.PrimaryKey = "PK";
     data.AddEventHandler(IQEventType.OnSave, OnSave);
 }
Exemplo n.º 6
0
 private void Constructor(IClassInfoConstructor data)
 {
     data.AddEventHandler(IQEventType.BeforeSave, IQEvent);
 }
Exemplo n.º 7
0
            protected void IQConstructor(IClassInfoConstructor dbInfo)
            {
                base.Constructor(dbInfo);

                dbInfo.AddEventHandler(IQEventType.BeforeDelete, Event);
                dbInfo.AddEventHandler(IQEventType.BeforeInsert, Event);
                dbInfo.AddEventHandler(IQEventType.BeforeSave, Event);
                dbInfo.AddEventHandler(IQEventType.BeforeUpdate, Event);
                dbInfo.AddEventHandler(IQEventType.OnDelete, Event);
                dbInfo.AddEventHandler(IQEventType.OnInsert, Event);
                dbInfo.AddEventHandler(IQEventType.OnLoad, Event);
                dbInfo.AddEventHandler(IQEventType.OnSave, Event);
                dbInfo.AddEventHandler(IQEventType.OnUpdate, Event);
            }
Exemplo n.º 8
0
 private void Constructor(IClassInfoConstructor data)
 {
     data.AddEventHandler(IQEventType.BeforeSave, IQEvent);
 }
Exemplo n.º 9
0
 protected virtual void Constructor(IClassInfoConstructor data)
 {
     data.Query.TableName = "animals";
     data.Query.PrimaryKey = "PK";
     data.AddEventHandler(IQEventType.OnSave, OnSave);
 }
Exemplo n.º 10
0
 protected virtual void Constructor(IClassInfoConstructor data)
 {
     data.Query.TableName = "animals";
     data.Query.PrimaryKey = "PK";
 }
Exemplo n.º 11
0
 protected abstract void IQConstructor(IClassInfoConstructor dbInfo);
Exemplo n.º 12
0
 protected abstract void IQConstructor(IClassInfoConstructor dbInfo);