예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FolderTypeDTO" /> class.
 /// </summary>
 /// <param name="id">Identifier.</param>
 /// <param name="documentTypeId">Document Type Identifier.</param>
 /// <param name="parentFolder">Parent folder Id.</param>
 /// <param name="dynamicFolder">Dynamic pattern string for folder.</param>
 /// <param name="origin">Possible values:  0: Entrata  1: Uscita  2: Interno  3: Sempre .</param>
 /// <param name="insertOnProfileEdit">Indicates if it need to archive profile in folder on edit.</param>
 /// <param name="moveOnEdit">Indicates if it need to remove previuous profile from the folder on edit.</param>
 public FolderTypeDTO(int?id = default(int?), int?documentTypeId = default(int?), FolderDTO parentFolder = default(FolderDTO), string dynamicFolder = default(string), int?origin = default(int?), bool?insertOnProfileEdit = default(bool?), bool?moveOnEdit = default(bool?))
 {
     this.Id                  = id;
     this.DocumentTypeId      = documentTypeId;
     this.ParentFolder        = parentFolder;
     this.DynamicFolder       = dynamicFolder;
     this.Origin              = origin;
     this.InsertOnProfileEdit = insertOnProfileEdit;
     this.MoveOnEdit          = moveOnEdit;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FolderFieldDTO" /> class.
 /// </summary>
 /// <param name="value">value.</param>
 public FolderFieldDTO(FolderDTO value = default(FolderDTO), string name = default(string), string externalId = default(string), string description = default(string), int?order = default(int?), string dataSource = default(string), bool?required = default(bool?), string formula = default(string), string className = "FolderFieldDTO", bool?locked = default(bool?), string comboGruppiId = default(string), List <DependencyFieldItem> dependencyFields = default(List <DependencyFieldItem>), List <AssocitationFieldItem> associations = default(List <AssocitationFieldItem>), bool?isAdditional = default(bool?), bool?visible = default(bool?), string predefinedProfileFormula = default(string), string visibilityCondition = default(string), int?addressBookDefaultFilter = default(int?), List <int?> enabledAddressBook = default(List <int?>), int?columns = default(int?)) : base(name, externalId, description, order, dataSource, required, formula, className, locked, comboGruppiId, dependencyFields, associations, isAdditional, visible, predefinedProfileFormula, visibilityCondition, addressBookDefaultFilter, enabledAddressBook, columns)
 {
     this.Value = value;
 }