internal RoleBetweenRole(ExtentFiltered extent, IRoleType role, IRoleType first, IRoleType second) { extent.CheckRole(role); PredicateAssertions.ValidateRoleBetween(role, first, second); this.role = role; this.first = first; this.second = second; }
internal RoleBetweenValue(ExtentFiltered extent, IRoleType roleType, object first, object second) { extent.CheckRole(roleType); PredicateAssertions.ValidateRoleBetween(roleType, first, second); this.roleType = roleType; this.first = roleType.Normalize(first); this.second = roleType.Normalize(second); }
internal AllorsPredicateRoleBetweenValueSql(AllorsExtentFilteredSql extent, IRoleType roleType, Object first, Object second) { extent.CheckRole(roleType); PredicateAssertions.ValidateRoleBetween(roleType, first, second); this.roleType = roleType; this.first = roleType.ObjectType is IUnit?roleType.Normalize(first) : first; this.second = roleType.ObjectType is IUnit?roleType.Normalize(second) : second; }
internal RoleBetween(ExtentFiltered extent, IRoleType roleType, object first, object second) { extent.CheckForRoleType(roleType); PredicateAssertions.ValidateRoleBetween(roleType, first, second); this.extent = extent; this.roleType = roleType; this.first = first; this.second = second; }