Ejemplo n.º 1
0
        private bool LoadByPrimaryKeyDynamic(System.String s1, System.String s2)
        {
            StudentQuery query = new StudentQuery();

            query.Where(query.S1 == s1, query.S2 == s2);
            return(this.Load(query));
        }
Ejemplo n.º 2
0
        protected void InitQuery(StudentQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

            if (!query.es2.HasConnection)
            {
                query.es2.Connection = ((IEntityCollection)this).Connection;
            }
        }
Ejemplo n.º 3
0
 public bool Load(StudentQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }