예제 #1
0
        public static void Grant()
        {
            CS505Project1.Services.StandardService dbServices = new StandardService();

            //Mom tries to give <dad, purchases, select, without>
            GrantAction grant = new GrantAction();

            grant.grantor_name = "mom";
            grant.grantee_name = "PhilCollins";
            grant.table_name   = "clients";
            grant.operation    = Operation_Type.SELECT;
            grant.grant        = false;

            dbServices.Grant(grant);
        }