protected AspNetUserClaimsMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(AspNetUserClaimsMetadata.ColumnNames.Id, 0, typeof(System.Int32), tgSystemType.Int32); c.PropertyName = AspNetUserClaimsMetadata.PropertyNames.Id; c.IsInPrimaryKey = true; c.IsAutoIncrement = true; c.NumericPrecision = 10; m_columns.Add(c); c = new tgColumnMetadata(AspNetUserClaimsMetadata.ColumnNames.UserId, 1, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUserClaimsMetadata.PropertyNames.UserId; c.CharacterMaxLength = 128; m_columns.Add(c); c = new tgColumnMetadata(AspNetUserClaimsMetadata.ColumnNames.ClaimType, 2, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUserClaimsMetadata.PropertyNames.ClaimType; c.IsNullable = true; c.CharacterMaxLength = 2147483647; m_columns.Add(c); c = new tgColumnMetadata(AspNetUserClaimsMetadata.ColumnNames.ClaimValue, 3, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUserClaimsMetadata.PropertyNames.ClaimValue; c.IsNullable = true; c.CharacterMaxLength = 2147483647; m_columns.Add(c); }
protected AspNetRolesMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(AspNetRolesMetadata.ColumnNames.Id, 0, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetRolesMetadata.PropertyNames.Id; c.IsInPrimaryKey = true; c.CharacterMaxLength = 128; m_columns.Add(c); c = new tgColumnMetadata(AspNetRolesMetadata.ColumnNames.Name, 1, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetRolesMetadata.PropertyNames.Name; c.CharacterMaxLength = 256; m_columns.Add(c); }
protected RecipientsMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(RecipientsMetadata.ColumnNames.Id, 0, typeof(System.Int32), tgSystemType.Int32); c.PropertyName = RecipientsMetadata.PropertyNames.Id; c.IsInPrimaryKey = true; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(RecipientsMetadata.ColumnNames.EmailAddress, 1, typeof(System.String), tgSystemType.String); c.PropertyName = RecipientsMetadata.PropertyNames.EmailAddress; c.IsNullable = true; c.CharacterMaxLength = 255; m_columns.Add(c); }
protected TVShowsMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(TVShowsMetadata.ColumnNames.Id, 0, typeof(System.Int32), tgSystemType.Int32); c.PropertyName = TVShowsMetadata.PropertyNames.Id; c.IsInPrimaryKey = true; m_columns.Add(c); c = new tgColumnMetadata(TVShowsMetadata.ColumnNames.Title, 1, typeof(System.String), tgSystemType.String); c.PropertyName = TVShowsMetadata.PropertyNames.Title; m_columns.Add(c); c = new tgColumnMetadata(TVShowsMetadata.ColumnNames.MazeId, 2, typeof(System.String), tgSystemType.String); c.PropertyName = TVShowsMetadata.PropertyNames.MazeId; m_columns.Add(c); c = new tgColumnMetadata(TVShowsMetadata.ColumnNames.Synopsis, 3, typeof(System.String), tgSystemType.String); c.PropertyName = TVShowsMetadata.PropertyNames.Synopsis; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(TVShowsMetadata.ColumnNames.Image, 4, typeof(System.String), tgSystemType.String); c.PropertyName = TVShowsMetadata.PropertyNames.Image; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(TVShowsMetadata.ColumnNames.NextAirDate, 5, typeof(System.String), tgSystemType.String); c.PropertyName = TVShowsMetadata.PropertyNames.NextAirDate; c.IsNullable = true; m_columns.Add(c); }
protected AspNetUserLoginsMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(AspNetUserLoginsMetadata.ColumnNames.LoginProvider, 0, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUserLoginsMetadata.PropertyNames.LoginProvider; c.IsInPrimaryKey = true; c.CharacterMaxLength = 128; m_columns.Add(c); c = new tgColumnMetadata(AspNetUserLoginsMetadata.ColumnNames.ProviderKey, 1, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUserLoginsMetadata.PropertyNames.ProviderKey; c.IsInPrimaryKey = true; c.CharacterMaxLength = 128; m_columns.Add(c); c = new tgColumnMetadata(AspNetUserLoginsMetadata.ColumnNames.UserId, 2, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUserLoginsMetadata.PropertyNames.UserId; c.IsInPrimaryKey = true; c.CharacterMaxLength = 128; m_columns.Add(c); }
protected EmployeesMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.EmployeeID, 0, typeof(System.Int32), tgSystemType.Int32); c.PropertyName = EmployeesMetadata.PropertyNames.EmployeeID; c.IsInPrimaryKey = true; c.IsAutoIncrement = true; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.LastName, 1, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.LastName; c.CharacterMaxLength = 20; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.FirstName, 2, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.FirstName; c.CharacterMaxLength = 10; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Title, 3, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.Title; c.IsNullable = true; c.CharacterMaxLength = 30; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.TitleOfCourtesy, 4, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.TitleOfCourtesy; c.IsNullable = true; c.CharacterMaxLength = 25; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.BirthDate, 5, typeof(System.DateTime), tgSystemType.DateTime); c.PropertyName = EmployeesMetadata.PropertyNames.BirthDate; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.HireDate, 6, typeof(System.DateTime), tgSystemType.DateTime); c.PropertyName = EmployeesMetadata.PropertyNames.HireDate; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Address, 7, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.Address; c.IsNullable = true; c.CharacterMaxLength = 60; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.City, 8, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.City; c.IsNullable = true; c.CharacterMaxLength = 15; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Region, 9, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.Region; c.IsNullable = true; c.CharacterMaxLength = 15; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.PostalCode, 10, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.PostalCode; c.IsNullable = true; c.CharacterMaxLength = 10; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Country, 11, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.Country; c.IsNullable = true; c.CharacterMaxLength = 15; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.HomePhone, 12, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.HomePhone; c.IsNullable = true; c.CharacterMaxLength = 24; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Extension, 13, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.Extension; c.IsNullable = true; c.CharacterMaxLength = 4; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Photo, 14, typeof(System.Byte[]), tgSystemType.Byte); c.PropertyName = EmployeesMetadata.PropertyNames.Photo; c.IsNullable = true; c.CharacterMaxLength = 2147483647; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.Notes, 15, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.Notes; c.IsNullable = true; c.CharacterMaxLength = 1073741823; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.ReportsTo, 16, typeof(System.Int32), tgSystemType.Int32); c.PropertyName = EmployeesMetadata.PropertyNames.ReportsTo; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(EmployeesMetadata.ColumnNames.PhotoPath, 17, typeof(System.String), tgSystemType.String); c.PropertyName = EmployeesMetadata.PropertyNames.PhotoPath; c.IsNullable = true; c.CharacterMaxLength = 255; m_columns.Add(c); }
protected AspNetUsersMetadata() { m_columns = new tgColumnMetadataCollection(); tgColumnMetadata c; c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.Id, 0, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUsersMetadata.PropertyNames.Id; c.IsInPrimaryKey = true; c.CharacterMaxLength = 128; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.Email, 1, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUsersMetadata.PropertyNames.Email; c.IsNullable = true; c.CharacterMaxLength = 256; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.EmailConfirmed, 2, typeof(System.Boolean), tgSystemType.Boolean); c.PropertyName = AspNetUsersMetadata.PropertyNames.EmailConfirmed; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.PasswordHash, 3, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUsersMetadata.PropertyNames.PasswordHash; c.IsNullable = true; c.CharacterMaxLength = 2147483647; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.SecurityStamp, 4, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUsersMetadata.PropertyNames.SecurityStamp; c.IsNullable = true; c.CharacterMaxLength = 2147483647; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.PhoneNumber, 5, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUsersMetadata.PropertyNames.PhoneNumber; c.IsNullable = true; c.CharacterMaxLength = 2147483647; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.PhoneNumberConfirmed, 6, typeof(System.Boolean), tgSystemType.Boolean); c.PropertyName = AspNetUsersMetadata.PropertyNames.PhoneNumberConfirmed; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.TwoFactorEnabled, 7, typeof(System.Boolean), tgSystemType.Boolean); c.PropertyName = AspNetUsersMetadata.PropertyNames.TwoFactorEnabled; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.LockoutEndDateUtc, 8, typeof(System.DateTime), tgSystemType.DateTime); c.PropertyName = AspNetUsersMetadata.PropertyNames.LockoutEndDateUtc; c.IsNullable = true; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.LockoutEnabled, 9, typeof(System.Boolean), tgSystemType.Boolean); c.PropertyName = AspNetUsersMetadata.PropertyNames.LockoutEnabled; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.AccessFailedCount, 10, typeof(System.Int32), tgSystemType.Int32); c.PropertyName = AspNetUsersMetadata.PropertyNames.AccessFailedCount; c.NumericPrecision = 10; m_columns.Add(c); c = new tgColumnMetadata(AspNetUsersMetadata.ColumnNames.UserName, 11, typeof(System.String), tgSystemType.String); c.PropertyName = AspNetUsersMetadata.PropertyNames.UserName; c.CharacterMaxLength = 256; m_columns.Add(c); }