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"; }
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"; }
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); }
protected virtual void Constructor(IClassInfoConstructor data) { data.Query.TableName = "animals"; data.Query.PrimaryKey = "PK"; }
protected virtual void Constructor(IClassInfoConstructor data) { data.Query.TableName = "animals"; data.Query.PrimaryKey = "PK"; data.AddEventHandler(IQEventType.OnSave, OnSave); }
private void Constructor(IClassInfoConstructor data) { data.AddEventHandler(IQEventType.BeforeSave, IQEvent); }
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); }
private void Constructor(IClassInfoConstructor data) { data.AddEventHandler(IQEventType.BeforeSave, IQEvent); }
protected virtual void Constructor(IClassInfoConstructor data) { data.Query.TableName = "animals"; data.Query.PrimaryKey = "PK"; data.AddEventHandler(IQEventType.OnSave, OnSave); }
protected virtual void Constructor(IClassInfoConstructor data) { data.Query.TableName = "animals"; data.Query.PrimaryKey = "PK"; }
protected abstract void IQConstructor(IClassInfoConstructor dbInfo);
protected abstract void IQConstructor(IClassInfoConstructor dbInfo);