19 namespace Deveel.Data.Sql.Statements {
22 : this(userName, role, false) {
26 if (String.IsNullOrEmpty(userName))
27 throw new ArgumentNullException(
"userName");
28 if (String.IsNullOrEmpty(role))
29 throw new ArgumentNullException(
"role");
33 WithAdmin = withAdmin;
36 public string Role {
get;
private set; }
38 public string UserName {
get;
private set; }
40 public bool WithAdmin {
get;
private set; }
GrantRoleStatement(string userName, string role)
Represents the foundation class of SQL statements to be executed.
GrantRoleStatement(string userName, string role, bool withAdmin)