Ejemplo n.º 1
0
 /// <summary>
 /// Initializes the <see cref="ItemEntity"/> class.
 /// </summary>
 static ItemEntity()
 {
     var dbController = DbControllerBase.GetInstance();
     _queryUpdateItemField = dbController.GetQuery<UpdateItemFieldQuery>();
     _queryInsertItem = dbController.GetQuery<InsertItemQuery>();
     _queryDeleteItem = dbController.GetQuery<DeleteItemQuery>();
     _querySelectItem = dbController.GetQuery<SelectItemQuery>();
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes the <see cref="ItemEntity"/> class.
        /// </summary>
        static ItemEntity()
        {
            var dbController = DbControllerBase.GetInstance();

            _queryUpdateItemField = dbController.GetQuery <UpdateItemFieldQuery>();
            _queryInsertItem      = dbController.GetQuery <InsertItemQuery>();
            _queryDeleteItem      = dbController.GetQuery <DeleteItemQuery>();
            _querySelectItem      = dbController.GetQuery <SelectItemQuery>();
        }