Пример #1
0
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALProject class.
 /// </summary>
 public TextTranslatorDALProject(System.Guid?id = default(System.Guid?), int?applicationId = default(int?), int?categoryId = default(int?), string categoryDescriptor = default(string), string projectName = default(string), string projectLabel = default(string), string description = default(string), byte[] status = default(byte[]), bool?isDeleted = default(bool?), System.Guid?createdBy = default(System.Guid?), System.Guid?modifiedBy = default(System.Guid?), System.DateTime?createdDate = default(System.DateTime?), System.DateTime?modifiedDate = default(System.DateTime?), int?languagePairId = default(int?), TextTranslatorDALApplication application = default(TextTranslatorDALApplication), TextTranslatorDALCategory category = default(TextTranslatorDALCategory), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser), TextTranslatorDALLanguagePair languagePair = default(TextTranslatorDALLanguagePair), TextTranslatorDALApplicationUser modifiedByNavigation = default(TextTranslatorDALApplicationUser), IList <TextTranslatorDALProjectCredit> projectCredit = default(IList <TextTranslatorDALProjectCredit>), IList <TextTranslatorDALModel> model = default(IList <TextTranslatorDALModel>), IList <TextTranslatorDALProjectBilling> billing = default(IList <TextTranslatorDALProjectBilling>), IList <TextTranslatorDALProjectBillingAudit> billingAudits = default(IList <TextTranslatorDALProjectBillingAudit>))
 {
     Id                   = id;
     ApplicationId        = applicationId;
     CategoryId           = categoryId;
     CategoryDescriptor   = categoryDescriptor;
     ProjectName          = projectName;
     ProjectLabel         = projectLabel;
     Description          = description;
     Status               = status;
     IsDeleted            = isDeleted;
     CreatedBy            = createdBy;
     ModifiedBy           = modifiedBy;
     CreatedDate          = createdDate;
     ModifiedDate         = modifiedDate;
     LanguagePairId       = languagePairId;
     Application          = application;
     Category             = category;
     CreatedByNavigation  = createdByNavigation;
     LanguagePair         = languagePair;
     ModifiedByNavigation = modifiedByNavigation;
     ProjectCredit        = projectCredit;
     Model                = model;
     Billing              = billing;
     BillingAudits        = billingAudits;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// TextTranslatorDALApplicationSharing class.
 /// </summary>
 public TextTranslatorDALApplicationSharing(long?id = default(long?), int?applicationId = default(int?), System.Guid?applicationUserId = default(System.Guid?), int?roleId = default(int?), bool?isDefaultApplication = default(bool?), TextTranslatorDALApplicationUser applicationUser = default(TextTranslatorDALApplicationUser), TextTranslatorDALApplication application = default(TextTranslatorDALApplication), TextTranslatorDALRole role = default(TextTranslatorDALRole))
 {
     Id                   = id;
     ApplicationId        = applicationId;
     ApplicationUserId    = applicationUserId;
     RoleId               = roleId;
     IsDefaultApplication = isDefaultApplication;
     ApplicationUser      = applicationUser;
     Application          = application;
     Role                 = role;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALApplication
 /// class.
 /// </summary>
 public TextTranslatorDALApplication(int?id = default(int?), string applicationName = default(string), string applicationIdentifier = default(string), System.DateTime?createdDate = default(System.DateTime?), System.Guid?createdBy = default(System.Guid?), System.DateTime?modifiedDate = default(System.DateTime?), System.Guid?modifiedBy = default(System.Guid?), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser), IList <TextTranslatorDALApplicationSubscriptions> applicationSubscriptions = default(IList <TextTranslatorDALApplicationSubscriptions>), IList <TextTranslatorDALDocument> document = default(IList <TextTranslatorDALDocument>), IList <TextTranslatorDALFile> file = default(IList <TextTranslatorDALFile>), IList <TextTranslatorDALProject> project = default(IList <TextTranslatorDALProject>), IList <TextTranslatorDALUploadHistory> uploadHistory = default(IList <TextTranslatorDALUploadHistory>), IList <TextTranslatorDALApplicationSharing> applicationSharings = default(IList <TextTranslatorDALApplicationSharing>), IList <TextTranslatorDALApplicationCredit> applicationCredit = default(IList <TextTranslatorDALApplicationCredit>))
 {
     Id = id;
     ApplicationName          = applicationName;
     ApplicationIdentifier    = applicationIdentifier;
     CreatedDate              = createdDate;
     CreatedBy                = createdBy;
     ModifiedDate             = modifiedDate;
     ModifiedBy               = modifiedBy;
     CreatedByNavigation      = createdByNavigation;
     ApplicationSubscriptions = applicationSubscriptions;
     Document            = document;
     File                = file;
     Project             = project;
     UploadHistory       = uploadHistory;
     ApplicationSharings = applicationSharings;
     ApplicationCredit   = applicationCredit;
     CustomInit();
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALModel class.
 /// </summary>
 public TextTranslatorDALModel(long?id = default(long?), System.Guid?projectId = default(System.Guid?), string name = default(string), byte[] modelStatus = default(byte[]), string statusInfo = default(string), bool?isWhitelisted = default(bool?), bool?isHidden = default(bool?), bool?resetAutoTestingDataset = default(bool?), bool?resetAutoTuningDataset = default(bool?), int?tuningSentenceCount = default(int?), int?testingSentenceCount = default(int?), System.Guid?createdBy = default(System.Guid?), System.Guid?modifiedBy = default(System.Guid?), System.DateTime?createdDate = default(System.DateTime?), System.DateTime?modifiedDate = default(System.DateTime?), System.DateTime?startDate = default(System.DateTime?), System.DateTime?completionDate = default(System.DateTime?), bool?isAutoDeploy = default(bool?), bool?isCancelled = default(bool?), int?trainingType = default(int?), double?autoDeployThreshold = default(double?), double?baselineBleuScorePunctuated = default(double?), double?bleuScorePunctuated = default(double?), double?baselineBleuScoreUnpunctuated = default(double?), double?bleuScoreUnpunctuated = default(double?), double?baselineBleuScoreCipunctuated = default(double?), double?bleuScoreCipunctuated = default(double?), double?baselineBleuScoreCiunpunctuated = default(double?), double?bleuScoreCiunpunctuated = default(double?), byte[] errorCode = default(byte[]), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser), TextTranslatorDALApplicationUser modifiedByNavigation = default(TextTranslatorDALApplicationUser), TextTranslatorDALProject project = default(TextTranslatorDALProject), IList <TextTranslatorDALModelDocuments> modelDocuments = default(IList <TextTranslatorDALModelDocuments>), IList <TextTranslatorDALProcessedDocument> processedDocuments = default(IList <TextTranslatorDALProcessedDocument>), IList <TextTranslatorDALTest> tests = default(IList <TextTranslatorDALTest>), IList <TextTranslatorDALMigrationTrainingHistory> migrationTrainingHistories = default(IList <TextTranslatorDALMigrationTrainingHistory>), IList <TextTranslatorDALModelRegionStatus> modelRegionStatuses = default(IList <TextTranslatorDALModelRegionStatus>), IList <TextTranslatorDALUnsupportedDeployedHubModel> unsupportedDeployedHubModels = default(IList <TextTranslatorDALUnsupportedDeployedHubModel>))
 {
     Id                              = id;
     ProjectId                       = projectId;
     Name                            = name;
     ModelStatus                     = modelStatus;
     StatusInfo                      = statusInfo;
     IsWhitelisted                   = isWhitelisted;
     IsHidden                        = isHidden;
     ResetAutoTestingDataset         = resetAutoTestingDataset;
     ResetAutoTuningDataset          = resetAutoTuningDataset;
     TuningSentenceCount             = tuningSentenceCount;
     TestingSentenceCount            = testingSentenceCount;
     CreatedBy                       = createdBy;
     ModifiedBy                      = modifiedBy;
     CreatedDate                     = createdDate;
     ModifiedDate                    = modifiedDate;
     StartDate                       = startDate;
     CompletionDate                  = completionDate;
     IsAutoDeploy                    = isAutoDeploy;
     IsCancelled                     = isCancelled;
     TrainingType                    = trainingType;
     AutoDeployThreshold             = autoDeployThreshold;
     BaselineBleuScorePunctuated     = baselineBleuScorePunctuated;
     BleuScorePunctuated             = bleuScorePunctuated;
     BaselineBleuScoreUnpunctuated   = baselineBleuScoreUnpunctuated;
     BleuScoreUnpunctuated           = bleuScoreUnpunctuated;
     BaselineBleuScoreCipunctuated   = baselineBleuScoreCipunctuated;
     BleuScoreCipunctuated           = bleuScoreCipunctuated;
     BaselineBleuScoreCiunpunctuated = baselineBleuScoreCiunpunctuated;
     BleuScoreCiunpunctuated         = bleuScoreCiunpunctuated;
     ErrorCode                       = errorCode;
     CreatedByNavigation             = createdByNavigation;
     ModifiedByNavigation            = modifiedByNavigation;
     Project                         = project;
     ModelDocuments                  = modelDocuments;
     ProcessedDocuments              = processedDocuments;
     Tests                           = tests;
     MigrationTrainingHistories      = migrationTrainingHistories;
     ModelRegionStatuses             = modelRegionStatuses;
     UnsupportedDeployedHubModels    = unsupportedDeployedHubModels;
     CustomInit();
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALDocument class.
 /// </summary>
 public TextTranslatorDALDocument(long?id = default(long?), int?applicationId = default(int?), string name = default(string), int?documentTypeId = default(int?), bool?isParallel = default(bool?), int?alignedSentenceCount = default(int?), System.Guid?createdBy = default(System.Guid?), System.Guid?modifiedBy = default(System.Guid?), System.DateTime?createdDate = default(System.DateTime?), bool?isAvailable = default(bool?), TextTranslatorDALApplication application = default(TextTranslatorDALApplication), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser), TextTranslatorDALDocumentType documentType = default(TextTranslatorDALDocumentType), TextTranslatorDALApplicationUser modifiedByNavigation = default(TextTranslatorDALApplicationUser), IList <TextTranslatorDALDocumentFiles> documentFiles = default(IList <TextTranslatorDALDocumentFiles>), IList <TextTranslatorDALModelDocuments> modelDocuments = default(IList <TextTranslatorDALModelDocuments>), IList <TextTranslatorDALProcessedDocument> processedDocument = default(IList <TextTranslatorDALProcessedDocument>))
 {
     Id                   = id;
     ApplicationId        = applicationId;
     Name                 = name;
     DocumentTypeId       = documentTypeId;
     IsParallel           = isParallel;
     AlignedSentenceCount = alignedSentenceCount;
     CreatedBy            = createdBy;
     ModifiedBy           = modifiedBy;
     CreatedDate          = createdDate;
     IsAvailable          = isAvailable;
     Application          = application;
     CreatedByNavigation  = createdByNavigation;
     DocumentType         = documentType;
     ModifiedByNavigation = modifiedByNavigation;
     DocumentFiles        = documentFiles;
     ModelDocuments       = modelDocuments;
     ProcessedDocument    = processedDocument;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALTest class.
 /// </summary>
 public TextTranslatorDALTest(long?id = default(long?), string name = default(string), long?modelId = default(long?), byte[] status = default(byte[]), int?sentenceCount = default(int?), double?baselineBleuScorePunctuated = default(double?), double?bleuScorePunctuated = default(double?), double?baselineBleuScoreUnpunctuated = default(double?), double?bleuScoreUnpunctuated = default(double?), double?baselineBleuScoreCipunctuated = default(double?), double?bleuScoreCipunctuated = default(double?), double?baselineBleuScoreCiunpunctuated = default(double?), double?bleuScoreCiunpunctuated = default(double?), System.Guid?createdBy = default(System.Guid?), System.Guid?modifiedBy = default(System.Guid?), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser), TextTranslatorDALModel model = default(TextTranslatorDALModel), TextTranslatorDALApplicationUser modifiedByNavigation = default(TextTranslatorDALApplicationUser))
 {
     Id            = id;
     Name          = name;
     ModelId       = modelId;
     Status        = status;
     SentenceCount = sentenceCount;
     BaselineBleuScorePunctuated     = baselineBleuScorePunctuated;
     BleuScorePunctuated             = bleuScorePunctuated;
     BaselineBleuScoreUnpunctuated   = baselineBleuScoreUnpunctuated;
     BleuScoreUnpunctuated           = bleuScoreUnpunctuated;
     BaselineBleuScoreCipunctuated   = baselineBleuScoreCipunctuated;
     BleuScoreCipunctuated           = bleuScoreCipunctuated;
     BaselineBleuScoreCiunpunctuated = baselineBleuScoreCiunpunctuated;
     BleuScoreCiunpunctuated         = bleuScoreCiunpunctuated;
     CreatedBy           = createdBy;
     ModifiedBy          = modifiedBy;
     CreatedByNavigation = createdByNavigation;
     Model = model;
     ModifiedByNavigation = modifiedByNavigation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALFile class.
 /// </summary>
 /// <param name="status">Possible values include: 'processing',
 /// 'processed'</param>
 public TextTranslatorDALFile(long?id = default(long?), long?parentId = default(long?), int?applicationId = default(int?), string name = default(string), string extension = default(string), string languageCode = default(string), string blobLocation = default(string), string sntBlobLocation = default(string), string status = default(string), long?sentenceCount = default(long?), long?characterCount = default(long?), long?fileSize = default(long?), System.Guid?createdBy = default(System.Guid?), System.DateTime?createdDate = default(System.DateTime?), int?uploadHistoryId = default(int?), TextTranslatorDALApplication application = default(TextTranslatorDALApplication), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser), IList <TextTranslatorDALDocumentFiles> documentFiles = default(IList <TextTranslatorDALDocumentFiles>), TextTranslatorDALUploadHistory uploadHistory = default(TextTranslatorDALUploadHistory), TextTranslatorDALLanguage language = default(TextTranslatorDALLanguage))
 {
     Id                  = id;
     ParentId            = parentId;
     ApplicationId       = applicationId;
     Name                = name;
     Extension           = extension;
     LanguageCode        = languageCode;
     BlobLocation        = blobLocation;
     SntBlobLocation     = sntBlobLocation;
     Status              = status;
     SentenceCount       = sentenceCount;
     CharacterCount      = characterCount;
     FileSize            = fileSize;
     CreatedBy           = createdBy;
     CreatedDate         = createdDate;
     UploadHistoryId     = uploadHistoryId;
     Application         = application;
     CreatedByNavigation = createdByNavigation;
     DocumentFiles       = documentFiles;
     UploadHistory       = uploadHistory;
     Language            = language;
     CustomInit();
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the TextTranslatorDALUploadHistory
 /// class.
 /// </summary>
 /// <param name="status">Possible values include: 'default',
 /// 'userFilesUploaded', 'processing', 'extracting', 'extracted',
 /// 'validating', 'sentenceBreaking', 'processedFilesUploading',
 /// 'failed', 'succeeded'</param>
 public TextTranslatorDALUploadHistory(int?id = default(int?), System.Guid?jobId = default(System.Guid?), int?applicationId = default(int?), int?parentId = default(int?), string name = default(string), string extension = default(string), string blobContainerName = default(string), string blobLocation = default(string), string languageCode = default(string), string summary = default(string), bool?allowOverwrite = default(bool?), string status = default(string), System.Guid?createdBy = default(System.Guid?), System.DateTime?createdDate = default(System.DateTime?), System.DateTime?modifiedDate = default(System.DateTime?), int?documentTypeId = default(int?), string documentName = default(string), TextTranslatorDALApplication application = default(TextTranslatorDALApplication), TextTranslatorDALDocumentType documentType = default(TextTranslatorDALDocumentType), TextTranslatorDALApplicationUser createdByNavigation = default(TextTranslatorDALApplicationUser))
 {
     Id                  = id;
     JobId               = jobId;
     ApplicationId       = applicationId;
     ParentId            = parentId;
     Name                = name;
     Extension           = extension;
     BlobContainerName   = blobContainerName;
     BlobLocation        = blobLocation;
     LanguageCode        = languageCode;
     Summary             = summary;
     AllowOverwrite      = allowOverwrite;
     Status              = status;
     CreatedBy           = createdBy;
     CreatedDate         = createdDate;
     ModifiedDate        = modifiedDate;
     DocumentTypeId      = documentTypeId;
     DocumentName        = documentName;
     Application         = application;
     DocumentType        = documentType;
     CreatedByNavigation = createdByNavigation;
     CustomInit();
 }