Esempio n. 1
0
        public static object ExecuteScalar <T>(string sqlText, List <SqlParameter> parameters) where T : CAS.Entity.BaseDAModels.BaseTO, new()
        {
            object      result = null;
            BaseDAO <T> da     = new BaseDAO <T>(GetConnectionName <T>());

            result = da.ExecuteScalar(sqlText, parameters);
            return(result);
        }