/// <summary>
        ///
        /// </summary>
        /// <typeparam name="TEntity"></typeparam>
        /// <param name="tmodelObj"></param>
        public void AddParams <TEntity>(TEntity tmodelObj) where TEntity : class
        {
            List <PropertyInfo> properties = MapperCache.GetPropertyInfo(tmodelObj);

            foreach (PropertyInfo property in properties)
            {
                AddParam(property, tmodelObj);
            }
        }
        public void AddOnlyIdParam <TEntity>(TEntity tmodelObj) where TEntity : class
        {
            List <PropertyInfo> properties = MapperCache.GetPropertyInfo(tmodelObj);

            var property = properties.FirstOrDefault(
                p => p.GetCustomAttributes(false).Any(
                    a => a.GetType() == typeof(PrimaryKeyAttribute)
                    )
                );

            if (property != null)
            {
                AddParam(property, tmodelObj);
            }
        }