Пример #1
0
 static SecurityRole()
 {
     BaseProxyClass.RegisterProxyType(typeof(SecurityRole), "role");
     _textOptions   = new Dictionary <string, eTextOptions>();
     _numberOptions = new Dictionary <string, eNumberOptions>();
     _errorStrings  = new Dictionary <string, string>();
     TextError      = "The value for attribute '{0}' cannot be longer than {3} characters. The length of the value is {2} characters.";
     NumberError    = "The value for attribute '{0}' must be between {2} and {3}. The value is {1}";
 }
 static RareBloodSourceImport()
 {
     BaseProxyClass.RegisterProxyType(typeof(RareBloodSourceImport), "nhs_rarebloodsourceimport");
     _textOptions   = new Dictionary <string, eTextOptions>();
     _numberOptions = new Dictionary <string, eNumberOptions>();
     _errorStrings  = new Dictionary <string, string>();
     TextError      = "The value for attribute '{0}' cannot be longer than {3} characters. The length of the value is {2} characters.";
     NumberError    = "The value for attribute '{0}' must be between {2} and {3}. The value is {1}";
 }
 static Antigen_SourceAssociation()
 {
     BaseProxyClass.RegisterProxyType(typeof(Antigen_SourceAssociation), "nhs_antigensourceassociation");
     _textOptions   = new Dictionary <string, eTextOptions>();
     _numberOptions = new Dictionary <string, eNumberOptions>();
     _errorStrings  = new Dictionary <string, string>();
     TextError      = "The value for attribute '{0}' cannot be longer than {3} characters. The length of the value is {2} characters.";
     NumberError    = "The value for attribute '{0}' must be between {2} and {3}. The value is {1}";
 }
Пример #4
0
 static nhs_AnitenSrcAssoc_nhs_RaritySrcAssoc()
 {
     BaseProxyClass.RegisterProxyType(typeof(nhs_AnitenSrcAssoc_nhs_RaritySrcAssoc), "nhs_anitensrcassoc_nhs_raritysrcassoc");
     _textOptions   = new Dictionary <string, eTextOptions>();
     _numberOptions = new Dictionary <string, eNumberOptions>();
     _errorStrings  = new Dictionary <string, string>();
     TextError      = "The value for attribute '{0}' cannot be longer than {3} characters. The length of the value is {2} characters.";
     NumberError    = "The value for attribute '{0}' must be between {2} and {3}. The value is {1}";
 }
Пример #5
0
 static ImportEntityMapping()
 {
     BaseProxyClass.RegisterProxyType(typeof(ImportEntityMapping), "importentitymapping");
     _textOptions   = new Dictionary <string, eTextOptions>();
     _numberOptions = new Dictionary <string, eNumberOptions>();
     _errorStrings  = new Dictionary <string, string>();
     TextError      = "The value for attribute '{0}' cannot be longer than {3} characters. The length of the value is {2} characters.";
     NumberError    = "The value for attribute '{0}' must be between {2} and {3}. The value is {1}";
 }