/// <summary> /// Initializes a new instance of the <see cref="T:SqlAzManAttribute<OWNER>"/> class. /// </summary> /// <param name="db">The db.</param> /// <param name="owner">The owner.</param> /// <param name="attributeId">The attribute id.</param> /// <param name="key">The key.</param> /// <param name="value">The value.</param> /// <param name="ens">The ens.</param> protected internal SqlAzManAttribute(NetSqlAzManStorageDataContext db, OWNER owner, int attributeId, string key, string value, SqlAzManENS ens) { this.db = db; this.owner = owner; this.attributeId = attributeId; this.key = key; this.value = value; this.ens = ens; }
internal SqlAzManStoreGroupMember(NetSqlAzManStorageDataContext db, IAzManStoreGroup storeGroup, int storeGroupMemberId, IAzManSid sid, WhereDefined whereDefined, bool isMember, SqlAzManENS ens) { this.db = db; this.storeGroup = storeGroup; this.storeGroupMemberId = storeGroupMemberId; this.sid = sid; this.whereDefined = whereDefined; this.isMember = isMember; this.ens = ens; }
internal SqlAzManStore(NetSqlAzManStorageDataContext db, IAzManStorage storage, int storeId, string name, string description, byte netsqlazmanFixedServerRole, SqlAzManENS ens) { this.db = db; this.storage = storage; this.storeId = storeId; this.name = name; this.description = description; this.currentSid = new SqlAzManSID(((System.Threading.Thread.CurrentPrincipal.Identity as WindowsIdentity) ?? WindowsIdentity.GetCurrent()).User).BinaryValue; this.netsqlazmanFixedServerRole = netsqlazmanFixedServerRole; this.ens = ens; }
internal SqlAzManAuthorization(NetSqlAzManStorageDataContext db, IAzManItem item, int authorizationId, IAzManSid owner, WhereDefined ownerSidWhereDefined, IAzManSid sid, WhereDefined objectSidWhereDefined, AuthorizationType authorizationType, DateTime?validFrom, DateTime?validTo, SqlAzManENS ens) { this.db = db; this.authorizationId = authorizationId; this.item = item; this.owner = owner; this.ownerSidWhereDefined = ownerSidWhereDefined; this.sid = sid; this.sidWhereDefined = objectSidWhereDefined; this.authorizationType = authorizationType; this.validFrom = validFrom; this.validTo = validTo; this.ens = ens; }
internal SqlAzManStoreGroup(NetSqlAzManStorageDataContext db, IAzManStore store, int storeGroupId, IAzManSid sid, string name, string description, string lDapQuery, GroupType groupType, SqlAzManENS ens) { this.db = db; this.store = store; this.storeGroupId = storeGroupId; this.sid = sid; this.name = name; this.description = description; this.lDapQuery = String.IsNullOrEmpty(lDapQuery) ? String.Empty : lDapQuery; this.groupType = groupType; this.ens = ens; if (groupType != GroupType.Basic) { this.members = new Dictionary <IAzManSid, IAzManStoreGroupMember>(); } }
internal SqlAzManItemAttribute(NetSqlAzManStorageDataContext db, IAzManItem owner, int attributeId, string key, string value, SqlAzManENS ens) : base(db, owner, attributeId, key, value, ens) { }