/// <summary> /// Selects all columns from the given Identifier /// </summary> /// <returns></returns> public SelectQuery <TPoco> Identifier <TPoco>(QueryIdentifier identifier) { ContainerObject.Interceptors.Add(new EventPostProcessor(EventPostProcessor.EventType.Select, ContainerObject.AccessLayer)); var classInfo = ContainerObject.AccessLayer.GetClassInfo(typeof(TPoco)); return(new SelectQuery <TPoco>(Add(new SelectTableQueryPart( ContainerObject.Search(identifier), classInfo, ContainerObject.CreateTableAlias(classInfo.TableName), ContainerObject)))); }