public ProjectsRow AddProjectsRow(System.Guid PROJ_UID, int PROJ_ARCHIVE_RETENTION)
            {
                ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    PROJ_UID,
                    PROJ_ARCHIVE_RETENTION
                };
                rowProjectsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowProjectsRow);
                return(rowProjectsRow);
            }
Example #2
0
            public ProjectsRow AddProjectsRow(System.Guid PROJ_VERSION_UID, System.Guid PROJ_UID, string PROJ_NAME, string PROJ_VERSION_DESCRIPTION, System.DateTime PROJ_VERSION_DATE, bool PROJ_VERSION_IS_PERMANENT)
            {
                ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    PROJ_VERSION_UID,
                    PROJ_UID,
                    PROJ_NAME,
                    PROJ_VERSION_DESCRIPTION,
                    PROJ_VERSION_DATE,
                    PROJ_VERSION_IS_PERMANENT
                };
                rowProjectsRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowProjectsRow);
                return(rowProjectsRow);
            }
 public void RemoveProjectsRow(ProjectsRow row) {
     this.Rows.Remove(row);
 }
 public void AddProjectsRow(ProjectsRow row) {
     this.Rows.Add(row);
 }
 public ProjectsRowChangeEvent(ProjectsRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
 public ProvidersRow AddProvidersRow(
             string Name, 
             ProjectsRow parentProjectsRowByFK_Projects_Providers, 
             ProviderTypesRow parentProviderTypesRowByFK_ProviderTypes_Providers, 
             ConnectionStringsRow parentConnectionStringsRowByFK_ConnectionStrings_Providers, 
             string CodeGenerationPath, 
             bool OrganizeCodeByProvider, 
             string AppendWith, 
             string AdditionalNamespaces, 
             string ExcludeProcedureList, 
             string ExcludeTableList, 
             bool ExtractClassNameFromSPName, 
             bool FixDatabaseObjectCasing, 
             bool FixPluralClassNames, 
             bool GenerateLazyLoads, 
             bool GenerateNullableProperties, 
             bool GenerateODSControllers, 
             bool GenerateRelatedTablesAsProperties, 
             string GeneratedNamespace, 
             string IncludeProcedureList, 
             string IncludeTableList, 
             string ManyToManySuffix, 
             string RegexDictionaryReplace, 
             bool RegexIgnoreCase, 
             string RegexMatchExpression, 
             string RegexReplaceExpression, 
             string RelatedTableLoadPrefix, 
             bool RemoveUnderscores, 
             bool SetPropertyDefaultsFromDatabase, 
             string SPClassName, 
             string SPStartsWith, 
             string StoredProcedureBaseClass, 
             string StripColumnText, 
             string StripParamText, 
             string StripSPText, 
             string StripTableText, 
             string StripViewText, 
             string TableBaseClass, 
             bool UseExtendedProperties, 
             bool UseSPs, 
             bool UseUTC, 
             string ViewBaseClass, 
             string ViewStartsWith) {
     ProvidersRow rowProvidersRow = ((ProvidersRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             null,
             Name,
             null,
             null,
             null,
             CodeGenerationPath,
             OrganizeCodeByProvider,
             AppendWith,
             AdditionalNamespaces,
             ExcludeProcedureList,
             ExcludeTableList,
             ExtractClassNameFromSPName,
             FixDatabaseObjectCasing,
             FixPluralClassNames,
             GenerateLazyLoads,
             GenerateNullableProperties,
             GenerateODSControllers,
             GenerateRelatedTablesAsProperties,
             GeneratedNamespace,
             IncludeProcedureList,
             IncludeTableList,
             ManyToManySuffix,
             RegexDictionaryReplace,
             RegexIgnoreCase,
             RegexMatchExpression,
             RegexReplaceExpression,
             RelatedTableLoadPrefix,
             RemoveUnderscores,
             SetPropertyDefaultsFromDatabase,
             SPClassName,
             SPStartsWith,
             StoredProcedureBaseClass,
             StripColumnText,
             StripParamText,
             StripSPText,
             StripTableText,
             StripViewText,
             TableBaseClass,
             UseExtendedProperties,
             UseSPs,
             UseUTC,
             ViewBaseClass,
             ViewStartsWith};
     if ((parentProjectsRowByFK_Projects_Providers != null)) {
         columnValuesArray[2] = parentProjectsRowByFK_Projects_Providers[0];
     }
     if ((parentProviderTypesRowByFK_ProviderTypes_Providers != null)) {
         columnValuesArray[3] = parentProviderTypesRowByFK_ProviderTypes_Providers[0];
     }
     if ((parentConnectionStringsRowByFK_ConnectionStrings_Providers != null)) {
         columnValuesArray[4] = parentConnectionStringsRowByFK_ConnectionStrings_Providers[0];
     }
     rowProvidersRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowProvidersRow);
     return rowProvidersRow;
 }
Example #7
0
 public ProjectsRowChangeEvent(ProjectsRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Example #8
0
 public void RemoveProjectsRow(ProjectsRow row)
 {
     this.Rows.Remove(row);
 }
Example #9
0
 public void AddProjectsRow(ProjectsRow row)
 {
     this.Rows.Add(row);
 }