Exemple #1
0
 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);
 }
Exemple #3
0
 public bool IsIdGeneratorTypeSupported(IdGeneratorType idGeneratorType)
 {
     return(true);
 }