示例#1
0
        /// <summary>
        /// Run RolePermission_SelectBy_RolePermissionId, and return results as a list of RolePermissionRow.
        /// </summary>
        /// <param name="fldRolePermissionId">Value for RolePermissionId</param>
        /// <returns>A collection of RolePermissionRow.</returns>
        public static List <RolePermissionContract> SelectBy_RolePermissionIdNow(int fldRolePermissionId
                                                                                 )
        {
            var driver = new RolePermissionLogic();

            driver.SelectBy_RolePermissionId(fldRolePermissionId
                                             );
            return(driver.Results);
        }
示例#2
0
        /// <summary>
        /// Run RolePermission_SelectBy_RolePermissionId, and return results as a list of RolePermissionRow.
        /// </summary>
        /// <param name="fldRolePermissionId">Value for RolePermissionId</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_RolePermissionIdNow(int fldRolePermissionId
                                                                                 , SqlConnection connection, SqlTransaction transaction)
        {
            var driver = new RolePermissionLogic();

            driver.SelectBy_RolePermissionId(fldRolePermissionId
                                             , connection, transaction);

            return(driver.Results);
        }