Пример #1
0
 private void ProccessUserRole(ICommandAdapter adapter) {
     var processRecordCommand = new XpandProcessRecordCommand();
     processRecordCommand.Parameters.MainParameter = new MainParameter("");
     processRecordCommand.Parameters.Add(new Parameter("Name", this.ParameterValue("EditRole", "User"), true, StartPosition));
     processRecordCommand.Parameters.Add(new Parameter("Action", "Edit", true, StartPosition));
     processRecordCommand.Execute(adapter);
 }
Пример #2
0
        private void ProccessUserRole(ICommandAdapter adapter)
        {
            var processRecordCommand = new XpandProcessRecordCommand();

            processRecordCommand.Parameters.MainParameter = new MainParameter("");
            processRecordCommand.Parameters.Add(new Parameter("Name", this.ParameterValue("EditRole", "User"), true, StartPosition));
            processRecordCommand.Parameters.Add(new Parameter("Action", "Edit", true, StartPosition));
            processRecordCommand.Execute(adapter);
        }