Exemplo n.º 1
0
        public void CreateTemplate()
        {
            var stream = CsvFileTemplateCreator.CreateStream(this.ObjectTypeInfo);

            if (TemplateFile == null)
            {
                TemplateFile = new FileData(Session);
            }
            TemplateFile.LoadFromStream("Template.csv", stream);
            OnChanged("TemplateFile");
            Session.CommitTransaction();
        }