public void Fact()
            {
                var ns = @"ComponentModel";
                var output = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName(), ns);
                var context = new EntitiesContext()
                {
                    Namespace = new Namespace(NAMESPACE, ns),
                    Imports = new[] {@"System.ComponentModel", @"DataTransferObjects" },
                    TypeName = new TypeName(@"", @"TB_MATE_SALE_PRICE", @"ViewModel"),
                    Inherits = @"TestViewModel",
                    Implements = new [] { @"INortifyPropertyChanged" },
                    OutputPath = output,
                };

                var viewmodel = new NotifyPropertyChanged(context);
                viewmodel.CreateViewModel(context.TypeName.ToString());

                TextTemplatingProcess.StartExplorer(context.OutputPath);
            }
        public void CreateEntitiesFact()
        {
            var ns = @"DataTransferObjects";
            var output = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName(), ns);

            var context = new EntitiesContext
            {
                Namespace = new Namespace(NAMESPACE, ns),
                Imports = new[] { @"System", },
                TypeAttributes = TypeAttributes.Public | TypeAttributes.Class, 
                IsPartial = true,
                TypeName = new TypeName(@"", @"", @"_entity"),
                Inherits = @"EntityBase",
                Implements = new [] { @"IEntity" },
                MemberAttribute = MemberAttributes.Assembly | MemberAttributes.Public | MemberAttributes.Final, // Public -> virtual, Public | Final -> public
                OutputPath =  output,
            };

            var entities = new Entities(context);
            entities.CreateEntities();

            TextTemplatingProcess.StartExplorer(output);
        }
        /// <summary>
        /// コンストラクター。
        /// </summary>
        /// <param name="context"></param>
		public EntityTemplate(EntitiesContext context)
		{
			this._context = context;
		}
 /// <summary>
 /// コンストラクター。
 /// </summary>
 public NotifyPropertyChangedTemplate(EntitiesContext context)
 {
     this._context = context;
 }