Пример #1
0
            public static ZoneRow CreateZoneRow(BacksightDataSet ds)
            {
                ZoneRow result = ds.Zone.NewZoneRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #2
0
            public static SchemaRow CreateSchemaRow(BacksightDataSet ds)
            {
                SchemaRow result = ds.Schema.NewSchemaRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #3
0
            public static FontRow CreateFontRow(BacksightDataSet ds)
            {
                FontRow result = ds.Font.NewFontRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #4
0
            internal static TemplateRow CreateTemplateRow(BacksightDataSet ds)
            {
                TemplateRow result = ds.Template.NewTemplateRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #5
0
            public static DomainTableRow CreateDomainTableRow(BacksightDataSet ds)
            {
                DomainTableRow result = ds.DomainTable.NewDomainTableRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #6
0
            /// <summary>
            /// Locates rows that refer to a specific table
            /// </summary>
            /// <param name="tableId">The ID of the table to look for</param>
            /// <returns>The rows that match the specified table ID</returns>
            internal ColumnDomainRow[] FindByTableId(int tableId)
            {
                BacksightDataSet ds    = (BacksightDataSet)this.DataSet;
                string           query = String.Format("{0}={1}", columnTableId.ColumnName, tableId);

                return((ColumnDomainRow[])Select(query));
            }
Пример #7
0
            public static BacksightDataSet.LayerRow CreateLayerRow(BacksightDataSet ds)
            {
                LayerRow result = ds.Layer.NewLayerRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #8
0
            public static BacksightDataSet.PropertyRow CreatePropertyRow(BacksightDataSet ds)
            {
                PropertyRow result = ds.Property.NewPropertyRow();

                result.Name = result.Value = result.Description = String.Empty;
                return(result);
            }
Пример #9
0
            public static ColumnDomainRow CreateColumnDomainRow(BacksightDataSet ds)
            {
                ColumnDomainRow result = ds.ColumnDomain.NewColumnDomainRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #10
0
            /// <summary>
            /// Locates rows that refer to a specific entity type
            /// </summary>
            /// <param name="entId">The ID of the entity type to look for</param>
            /// <returns>The rows that match the specified entity type ID</returns>
            internal EntityTypeSchemaRow[] FindByEntityId(int entId)
            {
                BacksightDataSet ds    = (BacksightDataSet)this.DataSet;
                string           query = String.Format("{0}={1}", columnEntityId.ColumnName, entId);

                return((EntityTypeSchemaRow[])Select(query));
            }
Пример #11
0
            public static BacksightDataSet.ThemeRow CreateThemeRow(BacksightDataSet ds)
            {
                ThemeRow result = ds.Theme.NewThemeRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #12
0
            public static BacksightDataSet.IdGroupRow CreateIdGroupRow(BacksightDataSet ds)
            {
                IdGroupRow result = ds.IdGroup.NewIdGroupRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #13
0
            public static EntityTypeRow CreateEntityTypeRow(BacksightDataSet ds)
            {
                EntityTypeRow result = ds.EntityType.NewEntityTypeRow();

                result.SetDefaultValues();
                return(result);
            }
Пример #14
0
 public static EntityTypeRow CreateEntityTypeRow(BacksightDataSet ds)
 {
     EntityTypeRow result = ds.EntityType.NewEntityTypeRow();
     result.SetDefaultValues();
     return result;
 }
Пример #15
0
 public static BacksightDataSet.LayerRow CreateLayerRow(BacksightDataSet ds)
 {
     LayerRow result = ds.Layer.NewLayerRow();
     result.SetDefaultValues();
     return result;
 }
Пример #16
0
 public static DomainTableRow CreateDomainTableRow(BacksightDataSet ds)
 {
     DomainTableRow result = ds.DomainTable.NewDomainTableRow();
     result.SetDefaultValues();
     return result;
 }
Пример #17
0
 public static BacksightDataSet.IdGroupRow CreateIdGroupRow(BacksightDataSet ds)
 {
     IdGroupRow result = ds.IdGroup.NewIdGroupRow();
     result.SetDefaultValues();
     return result;
 }
Пример #18
0
 public static BacksightDataSet.ThemeRow CreateThemeRow(BacksightDataSet ds)
 {
     ThemeRow result = ds.Theme.NewThemeRow();
     result.SetDefaultValues();
     return result;
 }
Пример #19
0
 public static ZoneRow CreateZoneRow(BacksightDataSet ds)
 {
     ZoneRow result = ds.Zone.NewZoneRow();
     result.SetDefaultValues();
     return result;
 }
Пример #20
0
 public static FontRow CreateFontRow(BacksightDataSet ds)
 {
     FontRow result = ds.Font.NewFontRow();
     result.SetDefaultValues();
     return result;
 }
Пример #21
0
 public static ColumnDomainRow CreateColumnDomainRow(BacksightDataSet ds)
 {
     ColumnDomainRow result = ds.ColumnDomain.NewColumnDomainRow();
     result.SetDefaultValues();
     return result;
 }
Пример #22
0
 public static BacksightDataSet.PropertyRow CreatePropertyRow(BacksightDataSet ds)
 {
     PropertyRow result = ds.Property.NewPropertyRow();
     result.Name = result.Value = result.Description = String.Empty;
     return result;
 }
Пример #23
0
 public static SchemaRow CreateSchemaRow(BacksightDataSet ds)
 {
     SchemaRow result = ds.Schema.NewSchemaRow();
     result.SetDefaultValues();
     return result;
 }
Пример #24
0
 internal static TemplateRow CreateTemplateRow(BacksightDataSet ds)
 {
     TemplateRow result = ds.Template.NewTemplateRow();
     result.SetDefaultValues();
     return result;
 }