Esempio n. 1
0
        /// <summary>
        /// Run RolePermission_SelectBy_RoleId, and return results as a list of RolePermissionRow.
        /// </summary>
        /// <param name="fldRoleId">Value for RoleId</param>
        /// <returns>A collection of RolePermissionRow.</returns>
        public static List <RolePermissionContract> SelectBy_RoleIdNow(int fldRoleId
                                                                       )
        {
            var driver = new RolePermissionLogic();

            driver.SelectBy_RoleId(fldRoleId
                                   );
            return(driver.Results);
        }
Esempio n. 2
0
        /// <summary>
        /// Run RolePermission_SelectBy_RoleId, and return results as a list of RolePermissionRow.
        /// </summary>
        /// <param name="fldRoleId">Value for RoleId</param>
        /// <param name="connection">The SqlConnection to use</param>
        /// <param name="transaction">The SqlTransaction to use</param>
        /// <returns>A collection of RolePermissionRow.</returns>
        public static List <RolePermissionContract> SelectBy_RoleIdNow(int fldRoleId
                                                                       , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new RolePermissionLogic();

            driver.SelectBy_RoleId(fldRoleId
                                   , connection, transaction);

            return(driver.Results);
        }