예제 #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;
 }