USE [DBGA_DEV] GO /****** Object: Table [ga].[tb_DataMeta_ObjChangeLog] Script Date: 04/09/2009 22:38:45 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [ga].[tb_DataMeta_ObjChangeLog]( [LogId] [int] IDENTITY(1,1) NOT NULL, [TimeStamp] [timestamp] NOT NULL, [DatabaseName] [varchar](256) NOT NULL, [DbVersion] [varchar](20) NOT NULL, [DbType] [varchar](20) NOT NULL, [EventType] [varchar](50) NOT NULL, [ObjectName] [varchar](256) NOT NULL, [ObjectType] [varchar](25) NOT NULL, [SqlCommand] [varchar](max) NOT NULL, [EventDate] [datetime] NOT NULL, [LoginName] [varchar](256) NOT NULL, [FirstName] [varchar](256) NULL, [LastName] [varchar](50) NULL, [ChangeDescription] [varchar](1000) NULL, [Description] [varchar](1000) NULL, [ObjVersion] [varchar](20) NOT NULL ) ON [PRIMARY] GO SET ANSI_PADDING ON GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_DataMeta_ObjChangeLog', @level2type=N'COLUMN',@level2name=N'Description' GO ALTER TABLE [ga].[tb_DataMeta_ObjChangeLog] ADD CONSTRAINT [DF_tb_DataMeta_ObjChangeLog_DbVersion] DEFAULT ('select ga.GetDbVersion()') FOR [DbVersion] GO ALTER TABLE [ga].[tb_DataMeta_ObjChangeLog] ADD CONSTRAINT [DF_tb_DataMeta_ObjChangeLog_EventDate] DEFAULT (getdate()) FOR [EventDate] GO ALTER TABLE [ga].[tb_DataMeta_ObjChangeLog] ADD CONSTRAINT [DF_tb_DataMeta_ObjChangeLog_ChangeDescription] DEFAULT ('TODO:DESCRIBE HERE WHAT KIND OF CHANGE YOU HAVE PERFORMED') FOR [ChangeDescription] GO ALTER TABLE [ga].[tb_DataMeta_ObjChangeLog] ADD CONSTRAINT [DF_tb_DataMeta_ObjChangeLog_Description] DEFAULT ('TODO:DESCRIBE HERE WHAT IS THE PURPOSE OF THIS OBJECT') FOR [Description] GO ALTER TABLE [ga].[tb_DataMeta_ObjChangeLog] ADD CONSTRAINT [DF_tb_DataMeta_ObjChangeLog_ObjVersion] DEFAULT ('0.0.0') FOR [ObjVersion] GO USE [DBGA_DEV] GO /****** Object: Table [ga].[tb_BLSec_LoginsForUsers] Script Date: 04/09/2009 22:39:32 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [ga].[tb_BLSec_LoginsForUsers]( [LoginsForUsersId] [int] IDENTITY(1,1) NOT NULL, [LoginName] [nvarchar](100) NOT NULL, [FirstName] [varchar](100) NOT NULL, [SecondName] [varchar](100) NULL, [LastName] [varchar](100) NOT NULL, [DomainName] [varchar](100) NOT NULL ) ON [PRIMARY] GO SET ANSI_PADDING ON GO USE [DBGA_DEV] GO /****** Object: Table [ga].[tb_BLSec_Users] Script Date: 04/09/2009 22:39:57 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [ga].[tb_BLSec_Users]( [UserId] [int] IDENTITY(1,1) NOT NULL, [FirstName] [varchar](100) NOT NULL, [SecondName] [varchar](100) NULL, [LastName] [varchar](100) NOT NULL, [DomainName] [varchar](100) NOT NULL, [RoleId] [int] NOT NULL, [Password] [nvarchar](100) NOT NULL ) ON [PRIMARY] GO SET ANSI_PADDING ON GO EXEC sys.sp_addextendedproperty @name=N'AuthorId', @value=N'1' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'AuthorName', @value=N'Yordan Georgiev' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'ChangeDescription', @value=N'Describe the change you have created while changing the table here' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'DbVersion', @value=N'0.1.0.20090406.1200' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'TableDescription', @value=N'TODO:ADD DESCRPTION' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'TableDescrpiption', @value=N'Models a user using the GenApp , with the minimum set of properties which enables it the usage of the ' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'TABLETYPE', @value=N'SECURITY' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO EXEC sys.sp_addextendedproperty @name=N'TableVersion', @value=N'0.1.0.20090406.1317' , @level0type=N'SCHEMA',@level0name=N'ga', @level1type=N'TABLE',@level1name=N'tb_BLSec_Users' GO
Getting the Current TabItem when the Tab is not selected in WPF
-
[image: Banner]
This is a quick reminder to self on how to retrieve a TabItem from a WPF
TabControl *when the tab is not currently selected* because I ru...
1 week ago
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!