Пример #1
0
        private bool LoadByPrimaryKeyDynamic(System.Int32 attachmentID)
        {
            ADefHelpDeskAttachmentsQuery query = new ADefHelpDeskAttachmentsQuery();

            query.Where(query.AttachmentID == attachmentID);
            return(this.Load(query));
        }
Пример #2
0
        protected void InitQuery(ADefHelpDeskAttachmentsQuery query)
        {
            query.OnLoadDelegate = this.OnQueryLoaded;

            if (!query.es2.HasConnection)
            {
                query.es2.Connection = ((IEntityCollection)this).Connection;
            }
        }
Пример #3
0
 public bool Load(ADefHelpDeskAttachmentsQuery query)
 {
     this.query = query;
     InitQuery(this.query);
     return(Query.Load());
 }