Ejemplo n.º 1
0
        private bool LoadByPrimaryKeyDynamic(System.Int32 id)
        {
            MailPreferencesQuery query = new MailPreferencesQuery();

            query.Where(query.Id == id);
            return(this.Load(query));
        }
Ejemplo n.º 2
0
 protected void InitQuery(MailPreferencesQuery query)
 {
     query.OnLoadDelegate = this.OnQueryLoaded;
     if (!query.tg2.HasConnection)
     {
         query.tg2.Connection = ((IEntityCollection)this).Connection;
     }
 }
Ejemplo n.º 3
0
 public bool Load(MailPreferencesQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }