public CollectionInformation( string collectionName, string displayName, string description, bool isProtected, bool nonAdminUsersCanOverwriteData, bool isHidden, IdGeneratorType idGeneratorType, string username, List <Role> userRoles, List <ValidatorDefinition> validatorDefinitions) { CollectionName = collectionName; DisplayName = displayName; Description = description; IsProtected = isProtected; Username = username; NonAdminUsersCanOverwriteData = nonAdminUsersCanOverwriteData; IsHidden = isHidden; UserRoles = userRoles; ValidatorDefinitions = validatorDefinitions; IdGeneratorType = idGeneratorType; }
public bool IsIdGeneratorTypeSupported(IdGeneratorType idGeneratorType) { return(idGeneratorType == IdGeneratorType.Integer); }
public bool IsIdGeneratorTypeSupported(IdGeneratorType idGeneratorType) { return(true); }