├── .editorconfig ├── .github └── stale.yml ├── .gitignore ├── Data ├── Northwind.vdb3 ├── PetShop.db3 ├── PetShop.sql ├── PetShop.vdb3 ├── PetShop.vdb4 └── Tracker.sql ├── LICENSE ├── Maps ├── CSharpKeywordEscape.csmap ├── DB2-CSharp.csmap ├── DB2-VB.csmap ├── DbType-CSharp.csmap ├── DbType-DataReaderMethod.csmap ├── DbType-JavaScript.csmap ├── DbType-TypeScript.csmap ├── DbType-VB.csmap ├── Firebird-CSharp.csmap ├── Firebird-VB.csmap ├── Oracle-CSharp.csmap ├── Oracle-VB.csmap ├── Plural-Overrides.csmap ├── Sql-CSharp.csmap ├── Sql-System.csmap ├── SqlNativeType-DbType.csmap ├── SqlNativeType-SqlDbType.csmap ├── Sqlite-CSharp.csmap ├── Sqlite-VB.csmap ├── System-CSharpAlias.csmap ├── System-VBAlias.csmap ├── VB6KeywordEscape.csmap ├── VBKeywordEscape.csmap ├── VistaDB-CSharp.csmap └── VistaDB-VB.csmap ├── Projects ├── CSharp │ ├── APISample │ │ ├── APISample.csproj │ │ ├── APISample.sln │ │ ├── EntryPoint.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── StoredProcedures.cst │ │ ├── app.config │ │ ├── packages.config │ │ └── readme.txt │ └── CustomPropertiesSample │ │ ├── CodeSmith.Samples.csproj │ │ ├── CodeSmith.Samples.sln │ │ ├── CustomPropertiesSample.cs │ │ ├── CustomPropertiesSample.csp │ │ ├── CustomPropertiesSample.cst │ │ ├── DropDownEditor │ │ ├── DropDownEditorProperty.cs │ │ ├── DropDownEditorPropertyEditor.cs │ │ ├── DropDownEditorPropertyEditorControl.cs │ │ ├── DropDownEditorPropertyEditorControl.resx │ │ └── DropDownEditorPropertySerializer.cs │ │ ├── DropDownList │ │ ├── DropDownListProperty.cs │ │ └── DropDownListPropertyEditor.cs │ │ ├── DropDownListSample.cst │ │ ├── GenerateCode.bat │ │ ├── ModalEditor │ │ ├── ModalEditorProperty.cs │ │ ├── ModalEditorPropertyEditor.cs │ │ ├── ModalEditorPropertyEditorForm.cs │ │ ├── ModalEditorPropertyEditorForm.resx │ │ └── ModalEditorPropertySerializer.cs │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── GlobalAssemblyInfo.cs │ │ ├── PurchaseOrder │ │ └── PurchaseOrder.cs │ │ ├── PurchaseOrderXml.csp │ │ ├── PurchaseOrderXml.cst │ │ ├── SchemaCollections.cst │ │ ├── SchemaCollections │ │ ├── TableConfiguration.cs │ │ ├── TableConfigurationCollection.cs │ │ ├── TableConfigurationCollectionSerializer.cs │ │ └── TableConfigurationSerializer.cs │ │ ├── readme.txt │ │ └── testpo.xml ├── Framework Samples.url └── VisualBasic │ ├── APISample │ ├── APISample.sln │ ├── APISample.vbproj │ ├── EntryPoint.vb │ ├── My Project │ │ ├── Application.Designer.vb │ │ ├── Application.myapp │ │ ├── AssemblyInfo.vb │ │ ├── Resources.Designer.vb │ │ ├── Resources.resx │ │ ├── Settings.Designer.vb │ │ └── Settings.settings │ ├── StoredProcedures.cst │ ├── app.config │ ├── packages.config │ └── readme.txt │ └── CustomPropertiesSample │ ├── CodeSmith.Samples.sln │ ├── CodeSmith.Samples.vbproj │ ├── CustomPropertiesSample.csp │ ├── CustomPropertiesSample.cst │ ├── DropDownEditor │ ├── DropDownEditorProperty.vb │ ├── DropDownEditorPropertyEditor.vb │ ├── DropDownEditorPropertyEditorControl.Designer.vb │ ├── DropDownEditorPropertyEditorControl.resx │ ├── DropDownEditorPropertyEditorControl.vb │ └── DropDownEditorPropertySerializer.vb │ ├── DropDownList │ ├── DropDownListProperty.vb │ └── DropDownListPropertyEditor.vb │ ├── DropDownListSample.cst │ ├── GenerateCode.bat │ ├── ModalEditor │ ├── ModalEditorProperty.vb │ ├── ModalEditorPropertyEditor.vb │ ├── ModalEditorPropertyEditorForm.Designer.vb │ ├── ModalEditorPropertyEditorForm.resx │ ├── ModalEditorPropertyEditorForm.vb │ └── ModalEditorPropertySerializer.vb │ ├── My Project │ ├── Application.Designer.vb │ ├── Application.myapp │ ├── AssemblyInfo.vb │ ├── Resources.Designer.vb │ ├── Resources.resx │ ├── Settings.Designer.vb │ └── Settings.settings │ ├── PurchaseOrder │ └── PurchaseOrder.vb │ ├── PurchaseOrderXml.csp │ ├── PurchaseOrderXml.cst │ ├── SchemaCollections.cst │ ├── SchemaCollections │ ├── TableConfiguration.vb │ ├── TableConfigurationCollection.vb │ ├── TableConfigurationCollectionSerializer.vb │ └── TableConfigurationSerializer.vb │ ├── readme.txt │ └── testpo.xml ├── README.md └── Templates ├── ActiveSnippets ├── CSharp │ ├── CustomEvent.cst │ ├── CustomException.cst │ ├── TableEnum.cst │ └── TableProperties.cst ├── HTML │ ├── Bootstrap.Alert.cst │ ├── Bootstrap.Breadcrumbs.cst │ ├── Bootstrap.ButtonDropdown.cst │ ├── Bootstrap.ButtonGroup.cst │ ├── Bootstrap.Dropdown.cst │ ├── Bootstrap.Header.cst │ ├── Bootstrap.Jumbotron.cst │ ├── Bootstrap.ListGroup.cst │ ├── Bootstrap.Media.cst │ ├── Bootstrap.Pagination.cst │ ├── Bootstrap.Progress.cst │ ├── Bootstrap.Tabs.cst │ └── Bootstrap.Textbox.cst ├── TypeScript │ └── JsonToClasses.cst └── VisualBasic │ ├── CustomEvent.cst │ ├── CustomException.cst │ ├── TableEnum.cst │ └── TableProperties.cst ├── Database ├── CommandWrapper │ ├── CSharp │ │ ├── AllCommandWrappers.cst │ │ └── CommandWrapperClass.cst │ └── VisualBasic │ │ ├── AllCommandWrappers.cst │ │ └── CommandWrapperClass.cst ├── DBDocumenter │ ├── ActiproSoftware.SQL.xml │ ├── DBDocumenterTemplate.cs │ ├── Database.csp │ ├── README.txt │ ├── bin │ │ ├── ActiproSoftware.CodeHighlighter.Net20.dll │ │ └── ActiproSoftware.Shared.Net20.dll │ ├── footer.cst │ ├── general.cst │ ├── header.cst │ ├── master.cst │ ├── output │ │ ├── dbdocs.css │ │ └── images │ │ │ ├── arrow.gif │ │ │ ├── check_icon.gif │ │ │ ├── database_icon.gif │ │ │ ├── folder_icon.gif │ │ │ ├── key_icon.gif │ │ │ ├── server.gif │ │ │ ├── server_icon.gif │ │ │ ├── stored_proc_icon.gif │ │ │ ├── tables_icon.gif │ │ │ ├── unchecked_icon.gif │ │ │ └── views_icon.gif │ ├── sproc_details.cst │ ├── sproc_summary.cst │ ├── sproc_text.cst │ ├── sprocs.cst │ ├── table_details.cst │ ├── table_summary.cst │ ├── tables.cst │ ├── view_details.cst │ ├── view_summary.cst │ ├── view_text.cst │ └── views.cst ├── DbSnapshot │ ├── DbSnapshot.cst │ └── SubTemplates │ │ ├── DbSnapshot.CodeBehind.cs │ │ ├── FunctionSchema.cst │ │ ├── ProcSchema.cst │ │ ├── TableData.cst │ │ ├── TableSchema.cst │ │ └── ViewSchema.cst ├── Other │ ├── CSharp │ │ ├── BusinessObject.cst │ │ ├── ExtendedProperties.cst │ │ ├── ScriptTableData.cst │ │ └── SqlService.cs │ └── VisualBasic │ │ ├── BusinessObject.cst │ │ └── SqlService.vb └── StoredProcedures │ ├── AllStoredProcedures.cst │ ├── StoredProcedureDescriptions.cst │ └── StoredProcedures.cst ├── Design Patterns ├── Behavioral │ ├── ChainOfCommand.cst │ ├── Command.cst │ ├── Interpreter.cst │ ├── Iterator.cst │ ├── Mediator.cst │ ├── Memento.cst │ ├── Observer.cst │ ├── State.cst │ ├── Strategy.cst │ ├── TemplateMethod.cst │ └── Visitor.cst ├── Creational │ ├── AbstractFactory.cst │ ├── Builder.cst │ ├── FactoryMethod.cst │ ├── Prototype.cst │ └── Singleton.cst └── Structural │ ├── Adapter.cst │ ├── Bridge.cst │ ├── Composite.cst │ ├── Decorator.cst │ ├── Façade.cst │ ├── Flyweight.cst │ └── Proxy.cst ├── Examples ├── BasicSamples │ ├── CSharp │ │ ├── CodeBehind.cst │ │ ├── CodeBehind.cst.cs │ │ ├── CodeSmith101 │ │ │ ├── sample1.cst │ │ │ ├── sample2.cst │ │ │ ├── sample3.cst │ │ │ └── sample4.cst │ │ ├── Includes │ │ │ ├── HeaderInclude.cst │ │ │ ├── Includes.cst │ │ │ └── ScriptInclude.cs │ │ ├── MasterTemplate.cst │ │ ├── PartialCodeBehind.cs │ │ ├── PartialTemplate.cst │ │ ├── ProgressReporting.cst │ │ ├── SimpleTemplate.cst │ │ ├── SubTemplate.cst │ │ ├── TemplateScript.cst │ │ └── UsingLinq.cst │ ├── JavaScript │ │ ├── SimpleTemplate.cst │ │ └── TemplateScript.cst │ └── VisualBasic │ │ ├── CodeBehind.cst │ │ ├── CodeBehind.cst.vb │ │ ├── CodeSmith101 │ │ ├── sample1.cst │ │ ├── sample2.cst │ │ ├── sample3.cst │ │ └── sample4.cst │ │ ├── MasterTemplate.cst │ │ ├── PartialCodeBehind.vb │ │ ├── PartialTemplate.cst │ │ ├── SimpleTemplate.cst │ │ ├── SubTemplate.cst │ │ ├── TemplateScript.cst │ │ └── UsingLinq.cst ├── Maps │ ├── MapSample.csmap │ └── MapSample.cst ├── Merge │ ├── CSharp │ │ ├── InsertRegionSample.cs │ │ ├── InsertRegionSample.cst │ │ ├── MergeSamples.csp │ │ ├── PreserveRegionsSample.cs │ │ └── PreserveRegionsSample.cst │ ├── JavaScript │ │ ├── InsertRegionSample.cst │ │ ├── InsertRegionSample.js │ │ ├── MergeSamples.csp │ │ ├── PreserveRegionsSample.cst │ │ └── PreserveRegionsSample.js │ ├── SQL │ │ ├── MergeSamples.csp │ │ ├── PreserveRegionsSample.cst │ │ └── PreserveRegionsSample.sql │ ├── VisualBasic │ │ ├── InsertRegionSample.cst │ │ ├── InsertRegionSample.vb │ │ ├── MergeSamples.csp │ │ ├── PreserveRegionsSample.cst │ │ └── PreserveRegionsSample.vb │ └── Xml │ │ ├── MergeSamples.csp │ │ ├── PreserveRegionsSample.cst │ │ └── PreserveRegionsSample.xml └── Xml │ ├── CSharp │ ├── Entity.cst │ ├── EntityMap.xsd │ ├── EntityMaster.csp │ ├── EntityMaster.cst │ ├── GenerateEntityMap.cst │ ├── NorthwindMap.xml │ ├── PurchaseOrder.cst │ ├── PurchaseOrder.xsd │ ├── SamplePurchaseOrder.xml │ └── output │ │ ├── Category.cs │ │ ├── Customer.cs │ │ ├── CustomerCustomerDemo.cs │ │ ├── CustomerDemographic.cs │ │ ├── Employee.cs │ │ ├── EmployeeTerritory.cs │ │ ├── Order.cs │ │ ├── OrderDetail.cs │ │ ├── Product.cs │ │ ├── Region.cs │ │ ├── Shipper.cs │ │ ├── Supplier.cs │ │ └── Territory.cs │ └── VisualBasic │ ├── Entity.cst │ ├── EntityMap.xsd │ ├── EntityMaster.csp │ ├── EntityMaster.cst │ ├── NorthwindMap.xml │ ├── PurchaseOrder.cst │ ├── PurchaseOrder.xsd │ ├── SamplePurchaseOrder.xml │ └── output │ ├── Category.vb │ ├── Customer.vb │ ├── CustomerCustomerDemo.vb │ ├── CustomerDemographic.vb │ ├── Employee.vb │ ├── EmployeeTerritory.vb │ ├── Order.vb │ ├── OrderDetail.vb │ ├── Product.vb │ ├── Region.vb │ ├── Shipper.vb │ ├── Supplier.vb │ └── Territory.vb ├── Frameworks ├── Csla │ ├── CSharp │ │ ├── BusinessLayer │ │ │ ├── CommandObject.cst │ │ │ ├── Criteria.cst │ │ │ ├── DynamicListBase.cst │ │ │ ├── DynamicRoot.cst │ │ │ ├── DynamicRootList.cst │ │ │ ├── EditableChild.cst │ │ │ ├── EditableChildList.cst │ │ │ ├── EditableRoot.cst │ │ │ ├── EditableRootList.cst │ │ │ ├── Entities.cst │ │ │ ├── Internal │ │ │ │ ├── ADOHelper.cst │ │ │ │ ├── AsyncChildLoader.cst │ │ │ │ ├── CommandObject.DataAccess.cst │ │ │ │ ├── CommandObject.Generated.cst │ │ │ │ ├── CommandObject.cst │ │ │ │ ├── Criteria.Generated.cst │ │ │ │ ├── Criteria.cst │ │ │ │ ├── DynamicListBase.DataAccess.LinqToSQL.cst │ │ │ │ ├── DynamicListBase.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── DynamicListBase.DataAccess.StoredProcedures.cst │ │ │ │ ├── DynamicListBase.DataAccess.cst │ │ │ │ ├── DynamicListBase.Generated.cst │ │ │ │ ├── DynamicListBase.cst │ │ │ │ ├── DynamicRoot.DataAccess.LinqToSQL.cst │ │ │ │ ├── DynamicRoot.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── DynamicRoot.DataAccess.StoredProcedures.cst │ │ │ │ ├── DynamicRoot.DataAccess.cst │ │ │ │ ├── DynamicRoot.Generated.cst │ │ │ │ ├── DynamicRoot.cst │ │ │ │ ├── DynamicRootList.DataAccess.LinqToSQL.cst │ │ │ │ ├── DynamicRootList.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── DynamicRootList.DataAccess.StoredProcedures.cst │ │ │ │ ├── DynamicRootList.DataAccess.cst │ │ │ │ ├── DynamicRootList.Generated.cst │ │ │ │ ├── DynamicRootList.cst │ │ │ │ ├── EditableChild.DataAccess.LinqToSQL.cst │ │ │ │ ├── EditableChild.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── EditableChild.DataAccess.StoredProcedures.cst │ │ │ │ ├── EditableChild.DataAccess.cst │ │ │ │ ├── EditableChild.Generated.cst │ │ │ │ ├── EditableChild.cst │ │ │ │ ├── EditableChildList.DataAccess.LinqToSQL.cst │ │ │ │ ├── EditableChildList.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── EditableChildList.DataAccess.StoredProcedures.cst │ │ │ │ ├── EditableChildList.DataAccess.cst │ │ │ │ ├── EditableChildList.Generated.cst │ │ │ │ ├── EditableChildList.cst │ │ │ │ ├── EditableRoot.DataAccess.LinqToSQL.cst │ │ │ │ ├── EditableRoot.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── EditableRoot.DataAccess.StoredProcedures.cst │ │ │ │ ├── EditableRoot.DataAccess.cst │ │ │ │ ├── EditableRoot.Generated.cst │ │ │ │ ├── EditableRoot.cst │ │ │ │ ├── EditableRootList.DataAccess.LinqToSQL.cst │ │ │ │ ├── EditableRootList.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── EditableRootList.DataAccess.StoredProcedures.cst │ │ │ │ ├── EditableRootList.DataAccess.cst │ │ │ │ ├── EditableRootList.Generated.cst │ │ │ │ ├── EditableRootList.cst │ │ │ │ ├── ExistsCommand.cst │ │ │ │ ├── FactoryNames.cst │ │ │ │ ├── IGeneratedCriteria.cst │ │ │ │ ├── LinqToSQLHelper.cst │ │ │ │ ├── NameValueList.DataAccess.cst │ │ │ │ ├── NameValueList.Generated.cst │ │ │ │ ├── NameValueList.cst │ │ │ │ ├── ReadOnlyChild.DataAccess.LinqToSQL.cst │ │ │ │ ├── ReadOnlyChild.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── ReadOnlyChild.DataAccess.StoredProcedures.cst │ │ │ │ ├── ReadOnlyChild.DataAccess.cst │ │ │ │ ├── ReadOnlyChild.Generated.cst │ │ │ │ ├── ReadOnlyChild.cst │ │ │ │ ├── ReadOnlyChildList.DataAccess.LinqToSQL.cst │ │ │ │ ├── ReadOnlyChildList.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── ReadOnlyChildList.DataAccess.StoredProcedures.cst │ │ │ │ ├── ReadOnlyChildList.DataAccess.cst │ │ │ │ ├── ReadOnlyChildList.Generated.cst │ │ │ │ ├── ReadOnlyChildList.cst │ │ │ │ ├── ReadOnlyList.DataAccess.LinqToSQL.cst │ │ │ │ ├── ReadOnlyList.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── ReadOnlyList.DataAccess.StoredProcedures.cst │ │ │ │ ├── ReadOnlyList.DataAccess.cst │ │ │ │ ├── ReadOnlyList.Generated.cst │ │ │ │ ├── ReadOnlyList.cst │ │ │ │ ├── ReadOnlyRoot.DataAccess.LinqToSQL.cst │ │ │ │ ├── ReadOnlyRoot.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── ReadOnlyRoot.DataAccess.StoredProcedures.cst │ │ │ │ ├── ReadOnlyRoot.DataAccess.cst │ │ │ │ ├── ReadOnlyRoot.Generated.cst │ │ │ │ ├── ReadOnlyRoot.cst │ │ │ │ ├── SwitchableObject.DataAccess.LinqToSQL.cst │ │ │ │ ├── SwitchableObject.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── SwitchableObject.DataAccess.StoredProcedures.cst │ │ │ │ ├── SwitchableObject.DataAccess.cst │ │ │ │ ├── SwitchableObject.Generated.cst │ │ │ │ └── SwitchableObject.cst │ │ │ ├── NameValueList.cst │ │ │ ├── ReadOnlyChild.cst │ │ │ ├── ReadOnlyChildList.cst │ │ │ ├── ReadOnlyList.cst │ │ │ ├── ReadOnlyRoot.cst │ │ │ └── SwitchableObject.cst │ │ ├── Common │ │ │ ├── AuthorizationRules.cst │ │ │ ├── ChildCreate.cst │ │ │ ├── ChildDelete.ParameterizedSQL.cst │ │ │ ├── ChildDelete.StoredProcedures.cst │ │ │ ├── ChildFetch.LinqToSQL.cst │ │ │ ├── ChildFetch.ParameterizedSQL.cst │ │ │ ├── ChildFetch.StoredProcedures.cst │ │ │ ├── ChildInsert.LinqToSQL.cst │ │ │ ├── ChildInsert.ParameterizedSQL.cst │ │ │ ├── ChildInsert.StoredProcedures.cst │ │ │ ├── ChildPartialMethods.cst │ │ │ ├── ChildUpdate.LinqToSQL.cst │ │ │ ├── ChildUpdate.ParameterizedSQL.cst │ │ │ ├── ChildUpdate.StoredProcedures.cst │ │ │ ├── Constructor.cst │ │ │ ├── DataPortalCreate.cst │ │ │ ├── DataPortalDelete.LinqToSQL.cst │ │ │ ├── DataPortalDelete.ParameterizedSQL.cst │ │ │ ├── DataPortalDelete.StoredProcedures.cst │ │ │ ├── DataPortalFetch.LinqToSQL.cst │ │ │ ├── DataPortalFetch.ParameterizedSQL.cst │ │ │ ├── DataPortalFetch.StoredProcedures.cst │ │ │ ├── DataPortalFetchList.LinqToSQL.cst │ │ │ ├── DataPortalFetchList.ParameterizedSQL.cst │ │ │ ├── DataPortalFetchList.StoredProcedures.cst │ │ │ ├── DataPortalInsert.LinqToSQL.cst │ │ │ ├── DataPortalInsert.ParameterizedSQL.cst │ │ │ ├── DataPortalInsert.StoredProcedures.cst │ │ │ ├── DataPortalPartialMethods.cst │ │ │ ├── DataPortalUpdate.LinqToSQL.cst │ │ │ ├── DataPortalUpdate.ParameterizedSQL.cst │ │ │ ├── DataPortalUpdate.StoredProcedures.cst │ │ │ ├── DataPortalUpdateList.cst │ │ │ ├── Exists.cst │ │ │ ├── ExistsList.cst │ │ │ ├── IsDirty.cst │ │ │ ├── IsDirtyList.cst │ │ │ ├── ListAddNewCore.cst │ │ │ ├── ListAuthorizationRules.cst │ │ │ ├── ListDataPortalPartialMethods.cst │ │ │ ├── ListEnhancements.cst │ │ │ ├── ListSimpleAddNewCore.cst │ │ │ ├── MapDataReader.cst │ │ │ ├── MapDataReaderReadOnly.cst │ │ │ ├── MapLinqToSQL.cst │ │ │ ├── MapLinqToSQLReadOnly.cst │ │ │ ├── Properties.cst │ │ │ ├── PropertiesReadOnly.cst │ │ │ ├── ValidationRules.cst │ │ │ └── ValidationRulesPartial.cst │ │ ├── DataAccessLayer │ │ │ ├── DataAccessLayer.cst │ │ │ └── Internal │ │ │ │ ├── ADOHelper.cst │ │ │ │ ├── ObjectFactory.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── ObjectFactory.DataAccess.StoredProcedures.cst │ │ │ │ ├── ObjectFactory.DataAccess.cst │ │ │ │ ├── ObjectFactory.cst │ │ │ │ ├── ObjectFactoryList.DataAccess.ParameterizedSQL.cst │ │ │ │ ├── ObjectFactoryList.DataAccess.StoredProcedures.cst │ │ │ │ ├── ObjectFactoryList.DataAccess.cst │ │ │ │ ├── ObjectFactoryList.cst │ │ │ │ └── SQLStoredProcedures.cst │ │ └── WebLayer │ │ │ ├── Default.aspx.cst │ │ │ └── Internal │ │ │ ├── Default.aspx.cs.cst │ │ │ ├── Default.aspx.cst │ │ │ └── Default.aspx.designer.cs.cst │ ├── Common │ │ ├── CodeSmith.SchemaHelper.CSharpExtensions.dll │ │ ├── CodeSmith.SchemaHelper.Extensions.dll │ │ ├── CodeSmith.SchemaHelper.VisualBasicExtensions.dll │ │ ├── CodeSmith.SchemaHelper.dll │ │ ├── CodeSmith.SchemaHelper.xml │ │ ├── Csla │ │ │ ├── 3.8 │ │ │ │ └── Client │ │ │ │ │ ├── Csla.XML │ │ │ │ │ ├── Csla.XmlSerializers.dll │ │ │ │ │ ├── Csla.dll │ │ │ │ │ └── Csla.dll.config │ │ │ ├── 4.3 │ │ │ │ ├── Client │ │ │ │ │ ├── Csla.Windows.XML │ │ │ │ │ ├── Csla.Windows.dll │ │ │ │ │ ├── Csla.Xaml.XML │ │ │ │ │ ├── Csla.Xaml.dll │ │ │ │ │ ├── Csla.dll │ │ │ │ │ └── Csla.xml │ │ │ │ └── Silverlight │ │ │ │ │ ├── Csla.XML │ │ │ │ │ ├── Csla.Xaml.XML │ │ │ │ │ ├── Csla.Xaml.dll │ │ │ │ │ └── Csla.dll │ │ │ └── 4.5 │ │ │ │ ├── Client │ │ │ │ ├── Csla.dll │ │ │ │ ├── Csla.dll.config │ │ │ │ └── Csla.xml │ │ │ │ └── Silverlight │ │ │ │ ├── Csla.XML │ │ │ │ ├── Csla.dll │ │ │ │ └── Csla.dll.config │ │ ├── Generator.CSLA.XML │ │ ├── Generator.CSLA.dll │ │ ├── Generator.QuickStart.dll │ │ ├── Generator.QuickStart.xml │ │ ├── Ionic.Zip.Reduced.dll │ │ ├── KeywordRenameAlias.csmap │ │ ├── QuickStartSolution.cst │ │ ├── SchemaHelper.cst │ │ ├── v3.5 │ │ │ ├── CSharp │ │ │ │ ├── DataProject.zip │ │ │ │ └── WebApplication.zip │ │ │ └── VisualBasic │ │ │ │ ├── DataProject.zip │ │ │ │ └── WebApplication.zip │ │ ├── v4.0 │ │ │ ├── CSharp │ │ │ │ ├── DataProject.zip │ │ │ │ └── WebApplication.zip │ │ │ └── VisualBasic │ │ │ │ ├── DataProject.zip │ │ │ │ └── WebApplication.zip │ │ └── v4.5 │ │ │ ├── CSharp │ │ │ ├── DataProject.zip │ │ │ └── WebApplication.zip │ │ │ └── VisualBasic │ │ │ ├── DataProject.zip │ │ │ └── WebApplication.zip │ ├── Master.proj │ ├── QuickStart.cst │ ├── Readme.url │ ├── Source │ │ ├── .nuget │ │ │ ├── NuGet.Config │ │ │ ├── NuGet.exe │ │ │ └── NuGet.targets │ │ ├── Build │ │ │ ├── Build.bat │ │ │ ├── CodeSmith.Generator.CSLA.nuspec │ │ │ ├── Entities.csp │ │ │ ├── install.ps1 │ │ │ └── readme.txt │ │ ├── CSLA.sln │ │ ├── CodeSmith.SchemaHelper.CSharpExtensions │ │ │ ├── AssociationExtensions.cs │ │ │ ├── AssociationMemberCollectionExtensions.cs │ │ │ ├── CodeSmith.SchemaHelper.CSharpExtensions.csproj │ │ │ ├── EntityExtensions.cs │ │ │ ├── MemberCollectionExtensions.cs │ │ │ ├── MemberExtensions.cs │ │ │ └── SearchCriteriaExtensions.cs │ │ ├── CodeSmith.SchemaHelper.Extensions │ │ │ ├── AssociationExtensions.cs │ │ │ ├── CodeSmith.SchemaHelper.Extensions.csproj │ │ │ ├── EntityExtensions.cs │ │ │ ├── MemberCollectionExtensions.cs │ │ │ └── MemberExtensions.cs │ │ ├── CodeSmith.SchemaHelper.VisualBasicExtensions │ │ │ ├── AssociationExtensions.cs │ │ │ ├── AssociationMemberCollectionExtensions.cs │ │ │ ├── CodeSmith.SchemaHelper.VisualBasicExtensions.csproj │ │ │ ├── EntityExtensions.cs │ │ │ ├── MemberCollectionExtensions.cs │ │ │ ├── MemberExtensions.cs │ │ │ └── SearchCriteriaExtensions.cs │ │ ├── Generator.CSLA │ │ │ ├── CSLAEntityProvider.cs │ │ │ ├── CodeTemplates │ │ │ │ ├── CSLABaseTemplate.cs │ │ │ │ ├── CodeTemplates.cd │ │ │ │ ├── DataCodeTemplate.cs │ │ │ │ ├── EntitiesBaseCodeTemplate.cs │ │ │ │ ├── EntitiesCodeTemplate.cs │ │ │ │ ├── EntityCodeTemplate.cs │ │ │ │ ├── InterfaceCodeTemplate.cs │ │ │ │ ├── QuickStartCodeTemplate.cs │ │ │ │ ├── SchemaExplorerEntitiesCodeTemplate.cs │ │ │ │ └── SchemaHelperEntitiesCodeTemplate.cs │ │ │ ├── Generator.CSLA.csproj │ │ │ ├── Properties │ │ │ │ └── AssemblyInfo.cs │ │ │ └── Util │ │ │ │ ├── Constants.cs │ │ │ │ └── Enums.cs │ │ └── GlobalAssemblyInfo.cs │ └── VisualBasic │ │ ├── BusinessLayer │ │ ├── CommandObject.cst │ │ ├── Criteria.cst │ │ ├── DynamicListBase.cst │ │ ├── DynamicRoot.cst │ │ ├── DynamicRootList.cst │ │ ├── EditableChild.cst │ │ ├── EditableChildList.cst │ │ ├── EditableRoot.cst │ │ ├── EditableRootList.cst │ │ ├── Entities.cst │ │ ├── Internal │ │ │ ├── ADOHelper.cst │ │ │ ├── AsyncChildLoader.cst │ │ │ ├── CommandObject.DataAccess.cst │ │ │ ├── CommandObject.Generated.cst │ │ │ ├── CommandObject.cst │ │ │ ├── Criteria.Generated.cst │ │ │ ├── Criteria.cst │ │ │ ├── DynamicListBase.DataAccess.ParameterizedSQL.cst │ │ │ ├── DynamicListBase.DataAccess.StoredProcedures.cst │ │ │ ├── DynamicListBase.DataAccess.cst │ │ │ ├── DynamicListBase.Generated.cst │ │ │ ├── DynamicListBase.cst │ │ │ ├── DynamicRoot.DataAccess.ParameterizedSQL.cst │ │ │ ├── DynamicRoot.DataAccess.StoredProcedures.cst │ │ │ ├── DynamicRoot.DataAccess.cst │ │ │ ├── DynamicRoot.Generated.cst │ │ │ ├── DynamicRoot.cst │ │ │ ├── DynamicRootList.DataAccess.ParameterizedSQL.cst │ │ │ ├── DynamicRootList.DataAccess.StoredProcedures.cst │ │ │ ├── DynamicRootList.DataAccess.cst │ │ │ ├── DynamicRootList.Generated.cst │ │ │ ├── DynamicRootList.cst │ │ │ ├── EditableChild.DataAccess.ParameterizedSQL.cst │ │ │ ├── EditableChild.DataAccess.StoredProcedures.cst │ │ │ ├── EditableChild.DataAccess.cst │ │ │ ├── EditableChild.Generated.cst │ │ │ ├── EditableChild.cst │ │ │ ├── EditableChildList.DataAccess.ParameterizedSQL.cst │ │ │ ├── EditableChildList.DataAccess.StoredProcedures.cst │ │ │ ├── EditableChildList.DataAccess.cst │ │ │ ├── EditableChildList.Generated.cst │ │ │ ├── EditableChildList.cst │ │ │ ├── EditableRoot.DataAccess.ParameterizedSQL.cst │ │ │ ├── EditableRoot.DataAccess.StoredProcedures.cst │ │ │ ├── EditableRoot.DataAccess.cst │ │ │ ├── EditableRoot.Generated.cst │ │ │ ├── EditableRoot.cst │ │ │ ├── EditableRootList.DataAccess.ParameterizedSQL.cst │ │ │ ├── EditableRootList.DataAccess.StoredProcedures.cst │ │ │ ├── EditableRootList.DataAccess.cst │ │ │ ├── EditableRootList.Generated.cst │ │ │ ├── EditableRootList.cst │ │ │ ├── ExistsCommand.cst │ │ │ ├── FactoryNames.cst │ │ │ ├── IGeneratedCriteria.cst │ │ │ ├── NameValueList.DataAccess.cst │ │ │ ├── NameValueList.Generated.cst │ │ │ ├── NameValueList.cst │ │ │ ├── ReadOnlyChild.DataAccess.ParameterizedSQL.cst │ │ │ ├── ReadOnlyChild.DataAccess.StoredProcedures.cst │ │ │ ├── ReadOnlyChild.DataAccess.cst │ │ │ ├── ReadOnlyChild.Generated.cst │ │ │ ├── ReadOnlyChild.cst │ │ │ ├── ReadOnlyChildList.DataAccess.ParameterizedSQL.cst │ │ │ ├── ReadOnlyChildList.DataAccess.StoredProcedures.cst │ │ │ ├── ReadOnlyChildList.DataAccess.cst │ │ │ ├── ReadOnlyChildList.Generated.cst │ │ │ ├── ReadOnlyChildList.cst │ │ │ ├── ReadOnlyList.DataAccess.ParameterizedSQL.cst │ │ │ ├── ReadOnlyList.DataAccess.StoredProcedures.cst │ │ │ ├── ReadOnlyList.DataAccess.cst │ │ │ ├── ReadOnlyList.Generated.cst │ │ │ ├── ReadOnlyList.cst │ │ │ ├── ReadOnlyRoot.DataAccess.ParameterizedSQL.cst │ │ │ ├── ReadOnlyRoot.DataAccess.StoredProcedures.cst │ │ │ ├── ReadOnlyRoot.DataAccess.cst │ │ │ ├── ReadOnlyRoot.Generated.cst │ │ │ ├── ReadOnlyRoot.cst │ │ │ ├── SwitchableObject.DataAccess.ParameterizedSQL.cst │ │ │ ├── SwitchableObject.DataAccess.StoredProcedures.cst │ │ │ ├── SwitchableObject.DataAccess.cst │ │ │ ├── SwitchableObject.Generated.cst │ │ │ └── SwitchableObject.cst │ │ ├── NameValueList.cst │ │ ├── ReadOnlyChild.cst │ │ ├── ReadOnlyChildList.cst │ │ ├── ReadOnlyList.cst │ │ ├── ReadOnlyRoot.cst │ │ └── SwitchableObject.cst │ │ ├── Common │ │ ├── AuthorizationRules.cst │ │ ├── ChildCreate.cst │ │ ├── ChildDelete.ParameterizedSQL.cst │ │ ├── ChildDelete.StoredProcedures.cst │ │ ├── ChildFetch.ParameterizedSQL.cst │ │ ├── ChildFetch.StoredProcedures.cst │ │ ├── ChildInsert.ParameterizedSQL.cst │ │ ├── ChildInsert.StoredProcedures.cst │ │ ├── ChildPartialMethods.cst │ │ ├── ChildUpdate.ParameterizedSQL.cst │ │ ├── ChildUpdate.StoredProcedures.cst │ │ ├── Constructor.cst │ │ ├── DataPortalCreate.cst │ │ ├── DataPortalDelete.ParameterizedSQL.cst │ │ ├── DataPortalDelete.StoredProcedures.cst │ │ ├── DataPortalFetch.ParameterizedSQL.cst │ │ ├── DataPortalFetch.StoredProcedures.cst │ │ ├── DataPortalFetchList.ParameterizedSQL.cst │ │ ├── DataPortalFetchList.StoredProcedures.cst │ │ ├── DataPortalInsert.ParameterizedSQL.cst │ │ ├── DataPortalInsert.StoredProcedures.cst │ │ ├── DataPortalPartialMethods.cst │ │ ├── DataPortalUpdate.ParameterizedSQL.cst │ │ ├── DataPortalUpdate.StoredProcedures.cst │ │ ├── DataPortalUpdateList.cst │ │ ├── Exists.cst │ │ ├── ExistsList.cst │ │ ├── IsDirty.cst │ │ ├── IsDirtyList.cst │ │ ├── ListAddNewCore.cst │ │ ├── ListAuthorizationRules.cst │ │ ├── ListDataPortalPartialMethods.cst │ │ ├── ListEnhancements.cst │ │ ├── ListSimpleAddNewCore.cst │ │ ├── MapDataReader.cst │ │ ├── MapDataReaderReadOnly.cst │ │ ├── Properties.cst │ │ ├── PropertiesReadOnly.cst │ │ ├── ValidationRules.cst │ │ └── ValidationRulesPartial.cst │ │ ├── DataAccessLayer │ │ ├── DataAccessLayer.cst │ │ └── Internal │ │ │ ├── ADOHelper.cst │ │ │ ├── ObjectFactory.DataAccess.ParameterizedSQL.cst │ │ │ ├── ObjectFactory.DataAccess.StoredProcedures.cst │ │ │ ├── ObjectFactory.DataAccess.cst │ │ │ ├── ObjectFactory.cst │ │ │ ├── ObjectFactoryList.DataAccess.ParameterizedSQL.cst │ │ │ ├── ObjectFactoryList.DataAccess.StoredProcedures.cst │ │ │ ├── ObjectFactoryList.DataAccess.cst │ │ │ ├── ObjectFactoryList.cst │ │ │ └── SQLStoredProcedures.cst │ │ └── WebLayer │ │ ├── Default.aspx.cst │ │ └── Internal │ │ ├── Default.aspx.cst │ │ └── Default.aspx.vb.cst ├── PLINQO-EF-DbContext │ ├── CSharp │ │ ├── Entity.cst │ │ └── Internal │ │ │ ├── Context.Editable.cst │ │ │ ├── Context.Generated.cst │ │ │ ├── Entity.Editable.cst │ │ │ ├── Entity.Generated.cst │ │ │ ├── Extensions.cs │ │ │ ├── Generator.cs │ │ │ ├── Mapping.Editable.cst │ │ │ ├── Mapping.Generated.cst │ │ │ ├── MockedContext.Editable.cst │ │ │ ├── MockedContext.Generated.cst │ │ │ ├── Model.cs │ │ │ ├── Parser.cs │ │ │ ├── Query.Editable.cst │ │ │ └── Query.Generated.cst │ ├── Common │ │ ├── ICSharpCode.NRefactory.CSharp.dll │ │ ├── ICSharpCode.NRefactory.dll │ │ └── Mono.Cecil.dll │ ├── Source │ │ ├── .nuget │ │ │ ├── NuGet.Config │ │ │ ├── NuGet.exe │ │ │ └── NuGet.targets │ │ ├── Build │ │ │ ├── Build.bat │ │ │ ├── PLINQO.EntityFramework.DbContext.nuspec │ │ │ ├── install.ps1 │ │ │ └── readme.txt │ │ ├── Local.testsettings │ │ ├── Samples │ │ │ └── Petshop.Data │ │ │ │ ├── App.config │ │ │ │ ├── Entities │ │ │ │ ├── Account.Generated.cs │ │ │ │ ├── Account.cs │ │ │ │ ├── BannerData.Generated.cs │ │ │ │ ├── BannerData.cs │ │ │ │ ├── Category.Generated.cs │ │ │ │ ├── Category.cs │ │ │ │ ├── Inventory.Generated.cs │ │ │ │ ├── Inventory.cs │ │ │ │ ├── Item.Generated.cs │ │ │ │ ├── Item.cs │ │ │ │ ├── LineItem.Generated.cs │ │ │ │ ├── LineItem.cs │ │ │ │ ├── OrderStatus.Generated.cs │ │ │ │ ├── OrderStatus.cs │ │ │ │ ├── Orders.Generated.cs │ │ │ │ ├── Orders.cs │ │ │ │ ├── Product.Generated.cs │ │ │ │ ├── Product.cs │ │ │ │ ├── Profile.Generated.cs │ │ │ │ ├── Profile.cs │ │ │ │ ├── SignOn.Generated.cs │ │ │ │ ├── SignOn.cs │ │ │ │ ├── Supplier.Generated.cs │ │ │ │ └── Supplier.cs │ │ │ │ ├── Mapping │ │ │ │ ├── AccountMap.Generated.cs │ │ │ │ ├── AccountMap.cs │ │ │ │ ├── BannerDataMap.Generated.cs │ │ │ │ ├── BannerDataMap.cs │ │ │ │ ├── CategoryMap.Generated.cs │ │ │ │ ├── CategoryMap.cs │ │ │ │ ├── InventoryMap.Generated.cs │ │ │ │ ├── InventoryMap.cs │ │ │ │ ├── ItemMap.Generated.cs │ │ │ │ ├── ItemMap.cs │ │ │ │ ├── LineItemMap.Generated.cs │ │ │ │ ├── LineItemMap.cs │ │ │ │ ├── OrderStatusMap.Generated.cs │ │ │ │ ├── OrderStatusMap.cs │ │ │ │ ├── OrdersMap.Generated.cs │ │ │ │ ├── OrdersMap.cs │ │ │ │ ├── ProductMap.Generated.cs │ │ │ │ ├── ProductMap.cs │ │ │ │ ├── ProfileMap.Generated.cs │ │ │ │ ├── ProfileMap.cs │ │ │ │ ├── SignOnMap.Generated.cs │ │ │ │ ├── SignOnMap.cs │ │ │ │ ├── SupplierMap.Generated.cs │ │ │ │ └── SupplierMap.cs │ │ │ │ ├── Petshop.Data.csproj │ │ │ │ ├── Petshop.csp │ │ │ │ ├── PetshopContext.Generated.cs │ │ │ │ ├── PetshopContext.cs │ │ │ │ ├── Properties │ │ │ │ └── AssemblyInfo.cs │ │ │ │ ├── Queries │ │ │ │ ├── AccountExtensions.Generated.cs │ │ │ │ ├── AccountExtensions.cs │ │ │ │ ├── BannerDataExtensions.Generated.cs │ │ │ │ ├── BannerDataExtensions.cs │ │ │ │ ├── CategoryExtensions.Generated.cs │ │ │ │ ├── CategoryExtensions.cs │ │ │ │ ├── InventoryExtensions.Generated.cs │ │ │ │ ├── InventoryExtensions.cs │ │ │ │ ├── ItemExtensions.Generated.cs │ │ │ │ ├── ItemExtensions.cs │ │ │ │ ├── LineItemExtensions.Generated.cs │ │ │ │ ├── LineItemExtensions.cs │ │ │ │ ├── OrderStatusExtensions.Generated.cs │ │ │ │ ├── OrderStatusExtensions.cs │ │ │ │ ├── OrdersExtensions.Generated.cs │ │ │ │ ├── OrdersExtensions.cs │ │ │ │ ├── ProductExtensions.Generated.cs │ │ │ │ ├── ProductExtensions.cs │ │ │ │ ├── ProfileExtensions.Generated.cs │ │ │ │ ├── ProfileExtensions.cs │ │ │ │ ├── SignOnExtensions.Generated.cs │ │ │ │ ├── SignOnExtensions.cs │ │ │ │ ├── SupplierExtensions.Generated.cs │ │ │ │ └── SupplierExtensions.cs │ │ │ │ └── packages.config │ │ ├── SchemaMapper.Tests │ │ │ ├── App.config │ │ │ ├── ExtensionsTest.cs │ │ │ ├── GeneratorTest.cs │ │ │ ├── ParserTest.cs │ │ │ ├── Properties │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── RenameTest.cs │ │ │ ├── SchemaMapper.Tests.csproj │ │ │ └── packages.config │ │ ├── SchemaMapper.sln │ │ ├── SchemaMapper.vsmdi │ │ ├── SchemaMapper │ │ │ ├── Properties │ │ │ │ └── AssemblyInfo.cs │ │ │ ├── SchemaMapper.csproj │ │ │ └── packages.config │ │ └── TraceAndTestImpact.testsettings │ └── readme.md ├── PLINQO-EF │ ├── CSharp │ │ ├── Edmx.cst │ │ ├── Entities.cst │ │ ├── Internal │ │ │ ├── APIController.Editable.cst │ │ │ ├── APIController.Generated.cst │ │ │ ├── DataContext.Editable.cst │ │ │ ├── DataContext.Generated.cst │ │ │ ├── Entity.Editable.cst │ │ │ ├── Entity.Generated.cst │ │ │ ├── Kendo │ │ │ │ ├── DataSource.cst │ │ │ │ ├── DropDownEditor.cst │ │ │ │ └── Grid.cst │ │ │ ├── QueryExtension.Editable.cst │ │ │ ├── QueryExtension.Generated.cst │ │ │ ├── View.Controller.cst │ │ │ ├── View.Kendo.cst │ │ │ └── View.Razor.cst │ │ ├── Queries.cst │ │ └── WebAPI.cst │ ├── Common │ │ ├── .nuget.zip │ │ ├── CodeSmith.Data.EntityFramework.XML │ │ ├── CodeSmith.SchemaHelper.dll │ │ ├── CodeSmith.SchemaHelper.xml │ │ ├── EF-System.csmap │ │ ├── Entities.csp │ │ ├── Generator.Microsoft.Frameworks.dll │ │ ├── Generator.Microsoft.Frameworks.xml │ │ ├── Generator.QuickStart.dll │ │ ├── Generator.QuickStart.xml │ │ ├── Ionic.Zip.Reduced.dll │ │ ├── KeywordRenameAlias.csmap │ │ ├── LinqToEdmxLicense.txt │ │ ├── QuickStartSolution.cst │ │ ├── WebAPI.csp │ │ ├── Xml.Schema.Linq.dll │ │ ├── v4.0 │ │ │ ├── CSharp │ │ │ │ ├── DataProject.zip │ │ │ │ ├── DataServiceWebsite.zip │ │ │ │ ├── EFWebSite.zip │ │ │ │ └── WebAPIProject.zip │ │ │ ├── CodeSmith.Data.EntityFramework.XML │ │ │ ├── CodeSmith.Data.EntityFramework.dll │ │ │ ├── CodeSmith.Data.XML │ │ │ └── CodeSmith.Data.dll │ │ └── v4.5 │ │ │ └── CSharp │ │ │ ├── DataProject.zip │ │ │ ├── DataServiceWebsite.zip │ │ │ ├── EFWebSite.zip │ │ │ └── WebAPIProject.zip │ ├── Master.proj │ ├── QuickStart.cst │ ├── Readme.url │ └── Source │ │ ├── .nuget │ │ ├── NuGet.Config │ │ ├── NuGet.targets │ │ └── nuget.exe │ │ ├── Build │ │ ├── Build.bat │ │ ├── CodeSmith.Generator.EntityFramework.WebAPI.nuspec │ │ ├── CodeSmith.Generator.EntityFramework.nuspec │ │ ├── Entities.csp │ │ ├── WebAPI.csp │ │ └── install.ps1 │ │ ├── CodeSmith.Data.EntityFramework │ │ ├── CodeSmith.Data.EntityFramework.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Web │ │ │ └── Http │ │ │ │ └── PagingAndFiltering.cs │ │ └── packages.config │ │ ├── CodeSmith.Data │ │ ├── Attributes │ │ │ ├── GuidAttribute.cs │ │ │ ├── IpAddressAttribute.cs │ │ │ ├── NotNullAttribute.cs │ │ │ ├── NowAttribute.cs │ │ │ ├── RuleAttributeBase.cs │ │ │ └── UserNameAttribute.cs │ │ ├── Audit │ │ │ ├── AlwaysAuditAttribute.cs │ │ │ ├── Audit.xsd │ │ │ ├── AuditAction.cs │ │ │ ├── AuditAttribute.cs │ │ │ ├── AuditEntity.cs │ │ │ ├── AuditKey.cs │ │ │ ├── AuditKeyCollection.cs │ │ │ ├── AuditLog.cs │ │ │ ├── AuditManager.cs │ │ │ ├── AuditProperty.cs │ │ │ ├── AuditPropertyCollection.cs │ │ │ ├── AuditPropertyFormatAttribute.cs │ │ │ └── NotAuditedAttribute.cs │ │ ├── Caching │ │ │ ├── CacheManager.cs │ │ │ ├── CacheManagerSection.cs │ │ │ ├── CacheProvider.cs │ │ │ ├── CacheProviderCollection.cs │ │ │ ├── CacheSettings.cs │ │ │ ├── CacheSettingsExtensions.cs │ │ │ ├── HttpCacheProvider.cs │ │ │ ├── ICacheProvider.cs │ │ │ ├── ProfileElement.cs │ │ │ ├── ProfileElementCollection.cs │ │ │ ├── QueryResultCache.cs │ │ │ └── StaticCacheProvider.cs │ │ ├── CodeSmith.Data.csproj │ │ ├── CodeSmith.Data.snk │ │ ├── Collections │ │ │ └── ConcurrentDictionary.cs │ │ ├── DataContext │ │ │ ├── DataContextProvider.cs │ │ │ ├── IDataContext.cs │ │ │ └── IDataContextProvider.cs │ │ ├── DataManagerBase.cs │ │ ├── EntityKey.cs │ │ ├── EntityManagerBase.cs │ │ ├── Extensions │ │ │ ├── ClearCacheExtensions.cs │ │ │ ├── ClearCacheFirstOrDefaultExtensions.cs │ │ │ ├── FromCacheExtensions.cs │ │ │ ├── FromCacheFirstOrDefaultExtensions.cs │ │ │ ├── FutureCacheCountExtensions.cs │ │ │ ├── FutureCacheExtensions.cs │ │ │ ├── FutureCacheFirstOrDefaultExtensions.cs │ │ │ ├── FutureExtensions.cs │ │ │ ├── PagingExtensions.cs │ │ │ └── UtilityExtensions.cs │ │ ├── Future │ │ │ ├── FutureException.cs │ │ │ ├── IFutureContext.cs │ │ │ ├── IFutureQuery.cs │ │ │ ├── IFutureValue.cs │ │ │ └── LoadedFutureValue.cs │ │ ├── IDataManager.cs │ │ ├── IEntityManager.cs │ │ ├── ILinqEntity.cs │ │ ├── Linq │ │ │ ├── ComparisonOperator.cs │ │ │ ├── ContainmentOperator.cs │ │ │ ├── DynamicQuery.cs │ │ │ ├── Evaluator.cs │ │ │ ├── ExpressionVisitor.cs │ │ │ ├── IPagedList.cs │ │ │ ├── PagedList.cs │ │ │ ├── SerializationExtensions.cs │ │ │ └── XElementExtensions.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ └── Resources.resx │ │ ├── Rules │ │ │ ├── Assign │ │ │ │ ├── DefaultValueRule.cs │ │ │ │ ├── GuidRule.cs │ │ │ │ ├── IpAddressRule.cs │ │ │ │ ├── NowRule.cs │ │ │ │ └── UserNameRule.cs │ │ │ ├── BrokenRule.cs │ │ │ ├── BrokenRuleCollection.cs │ │ │ ├── BrokenRuleException.cs │ │ │ ├── EntityState.cs │ │ │ ├── IRule.cs │ │ │ ├── PropertyRuleBase.cs │ │ │ ├── RuleCollection.cs │ │ │ ├── RuleContext.cs │ │ │ ├── RuleList.cs │ │ │ ├── RuleManager.cs │ │ │ ├── Security │ │ │ │ ├── AuthorizationRuleBase.cs │ │ │ │ ├── CreateRule.cs │ │ │ │ ├── DeleteRule.cs │ │ │ │ └── UpdateRule.cs │ │ │ └── Validation │ │ │ │ ├── CompareRule.cs │ │ │ │ ├── ComparisonOperator.cs │ │ │ │ ├── CustomRule.cs │ │ │ │ ├── LengthRule.cs │ │ │ │ ├── NotNullRule.cs │ │ │ │ ├── RangeRule.cs │ │ │ │ ├── RegexRule.cs │ │ │ │ └── RequiredRule.cs │ │ ├── Serialization │ │ │ ├── ByteArrayConverter.cs │ │ │ ├── ByteArrayTypeConverter.cs │ │ │ └── JavaScriptSerializerExtensions.cs │ │ ├── TrackedObject.cs │ │ └── Web │ │ │ └── LinqCacheDataSource.cs │ │ ├── Generator.Microsoft.Frameworks.sln │ │ ├── Generator.Microsoft.Frameworks.suo │ │ ├── Generator.Microsoft.Frameworks │ │ ├── Edmx │ │ │ ├── ComplexEntity.cs │ │ │ ├── ComplexProperty.cs │ │ │ ├── ConceptualAssociation.cs │ │ │ ├── ConceptualEntity.cs │ │ │ ├── ConceptualProperty.cs │ │ │ ├── EdmxConstants.cs │ │ │ ├── EdmxEntityProvider.cs │ │ │ ├── EdmxExtensions.cs │ │ │ ├── EdmxGenerator.Conceptual.cs │ │ │ ├── EdmxGenerator.Designer.cs │ │ │ ├── EdmxGenerator.Mapping.cs │ │ │ ├── EdmxGenerator.Storage.cs │ │ │ ├── EdmxGenerator.cs │ │ │ ├── Entity Design.cd │ │ │ ├── FunctionEntity.cs │ │ │ └── FunctionParameter.cs │ │ ├── EntityFrameworkVersion.cs │ │ ├── Generator.Microsoft.Frameworks.csproj │ │ ├── Generator.Microsoft.Frameworks.csproj.user │ │ ├── GeneratorSettings.cs │ │ ├── LinqToEdmx │ │ │ ├── CodeGen │ │ │ │ ├── Access.cs │ │ │ │ └── PublicOrInternalAccess.cs │ │ │ ├── Common │ │ │ │ └── EnumerableExtensions.cs │ │ │ ├── Designer │ │ │ │ ├── AssociationConnector.cs │ │ │ │ ├── ConceptualModels.cs │ │ │ │ ├── Connection.cs │ │ │ │ ├── ConnectorPoint.cs │ │ │ │ ├── DataServices.cs │ │ │ │ ├── Designer.cs │ │ │ │ ├── DesignerInfoPropertySet.cs │ │ │ │ ├── DesignerProperty.cs │ │ │ │ ├── Diagram.cs │ │ │ │ ├── Diagrams.cs │ │ │ │ ├── EntityTypeShape.cs │ │ │ │ ├── InheritanceConnector.cs │ │ │ │ ├── Mappings.cs │ │ │ │ ├── Options.cs │ │ │ │ ├── Runtime.cs │ │ │ │ ├── StorageModels.cs │ │ │ │ ├── TEdmx.cs │ │ │ │ └── XRootNamespace.cs │ │ │ ├── Edmx.cs │ │ │ ├── LinqToEdmxLicense.txt │ │ │ ├── Map │ │ │ │ ├── Alias.cs │ │ │ │ ├── AssociationSetMapping.cs │ │ │ │ ├── AssociationSetModificationFunction.cs │ │ │ │ ├── AssociationSetModificationFunctionMapping.cs │ │ │ │ ├── ComplexProperty.cs │ │ │ │ ├── ComplexTypeMapping.cs │ │ │ │ ├── Condition.cs │ │ │ │ ├── EndProperty.cs │ │ │ │ ├── EntityContainerMapping.cs │ │ │ │ ├── EntitySetMapping.cs │ │ │ │ ├── EntityTypeMapping.cs │ │ │ │ ├── EntityTypeModificationFunction.cs │ │ │ │ ├── EntityTypeModificationFunctionMapping.cs │ │ │ │ ├── EntityTypeModificationFunctionWithResult.cs │ │ │ │ ├── FunctionImportComplexTypeMapping.cs │ │ │ │ ├── FunctionImportCondition.cs │ │ │ │ ├── FunctionImportEntityTypeMapping.cs │ │ │ │ ├── FunctionImportMapping.cs │ │ │ │ ├── FunctionImportMappingResultMapping.cs │ │ │ │ ├── FunctionMappingAssociationEnd.cs │ │ │ │ ├── FunctionMappingComplexProperty.cs │ │ │ │ ├── FunctionMappingEndProperty.cs │ │ │ │ ├── FunctionMappingScalarProperty.cs │ │ │ │ ├── Mapping.cs │ │ │ │ ├── MappingFragment.cs │ │ │ │ ├── QualifiedName.cs │ │ │ │ ├── QueryView.cs │ │ │ │ ├── ResultBinding.cs │ │ │ │ ├── ScalarProperty.cs │ │ │ │ ├── SimpleIdentifier.cs │ │ │ │ ├── Space.cs │ │ │ │ ├── TMapping.cs │ │ │ │ ├── Version.cs │ │ │ │ └── XRootNamespace.cs │ │ │ ├── Model │ │ │ │ ├── Conceptual │ │ │ │ │ ├── Action.cs │ │ │ │ │ ├── Association.cs │ │ │ │ │ ├── AssociationEnd.cs │ │ │ │ │ ├── CollationFacet.cs │ │ │ │ │ ├── CollectionType.cs │ │ │ │ │ ├── CommandText.cs │ │ │ │ │ ├── ComplexType.cs │ │ │ │ │ ├── ComplexTypeProperty.cs │ │ │ │ │ ├── ConceptualSchema.cs │ │ │ │ │ ├── ConcurrencyMode.cs │ │ │ │ │ ├── Constraint.cs │ │ │ │ │ ├── Documentation.cs │ │ │ │ │ ├── EDMSimpleType.cs │ │ │ │ │ ├── EntityContainer.cs │ │ │ │ │ ├── EntityKeyElement.cs │ │ │ │ │ ├── EntityProperty.cs │ │ │ │ │ ├── EntityType.cs │ │ │ │ │ ├── Function.cs │ │ │ │ │ ├── FunctionImportParameter.cs │ │ │ │ │ ├── FunctionParameter.cs │ │ │ │ │ ├── FunctionReturnType.cs │ │ │ │ │ ├── FunctionType.cs │ │ │ │ │ ├── IsFixedLengthFacet.cs │ │ │ │ │ ├── IsUnicodeFacet.cs │ │ │ │ │ ├── Max.cs │ │ │ │ │ ├── MaxLengthFacet.cs │ │ │ │ │ ├── Multiplicity.cs │ │ │ │ │ ├── NamespaceName.cs │ │ │ │ │ ├── NavigationProperty.cs │ │ │ │ │ ├── OnAction.cs │ │ │ │ │ ├── ParameterMode.cs │ │ │ │ │ ├── PrecisionFacet.cs │ │ │ │ │ ├── Property.cs │ │ │ │ │ ├── PropertyRef.cs │ │ │ │ │ ├── PropertyType.cs │ │ │ │ │ ├── QualifiedName.cs │ │ │ │ │ ├── ReferenceType.cs │ │ │ │ │ ├── ReferentialConstraintRoleElement.cs │ │ │ │ │ ├── RowType.cs │ │ │ │ │ ├── ScaleFacet.cs │ │ │ │ │ ├── SimpleIdentifier.cs │ │ │ │ │ ├── TSchema.cs │ │ │ │ │ ├── Text.cs │ │ │ │ │ ├── TypeRef.cs │ │ │ │ │ ├── UnwrappedFunctionType.cs │ │ │ │ │ ├── Using.cs │ │ │ │ │ ├── WrappedFunctionType.cs │ │ │ │ │ ├── XRootNamespace.cs │ │ │ │ │ └── XmlOrText.cs │ │ │ │ └── Storage │ │ │ │ │ ├── Action.cs │ │ │ │ │ ├── Association.cs │ │ │ │ │ ├── AssociationEnd.cs │ │ │ │ │ ├── CollationFacet.cs │ │ │ │ │ ├── CommandText.cs │ │ │ │ │ ├── Constraint.cs │ │ │ │ │ ├── Documentation.cs │ │ │ │ │ ├── EntityContainer.cs │ │ │ │ │ ├── EntityKeyElement.cs │ │ │ │ │ ├── EntityProperty.cs │ │ │ │ │ ├── EntityTypeStore.cs │ │ │ │ │ ├── Function.cs │ │ │ │ │ ├── FunctionType.cs │ │ │ │ │ ├── IsFixedLengthFacet.cs │ │ │ │ │ ├── IsUnicodeFacet.cs │ │ │ │ │ ├── KindFacet.cs │ │ │ │ │ ├── LinqToXsdTypeManager.cs │ │ │ │ │ ├── Max.cs │ │ │ │ │ ├── MaxLengthFacet.cs │ │ │ │ │ ├── Multiplicity.cs │ │ │ │ │ ├── OnAction.cs │ │ │ │ │ ├── Parameter.cs │ │ │ │ │ ├── ParameterMode.cs │ │ │ │ │ ├── ParameterTypeSemantics.cs │ │ │ │ │ ├── PrecisionFacet.cs │ │ │ │ │ ├── PropertyRef.cs │ │ │ │ │ ├── PropertyType.cs │ │ │ │ │ ├── QualifiedName.cs │ │ │ │ │ ├── ReferentialConstraintRoleElement.cs │ │ │ │ │ ├── ScaleFacet.cs │ │ │ │ │ ├── SimpleIdentifier.cs │ │ │ │ │ ├── StorageSchema.cs │ │ │ │ │ ├── StoreGeneratedPattern.cs │ │ │ │ │ ├── TSchema.cs │ │ │ │ │ ├── Text.cs │ │ │ │ │ ├── UndottedIdentifier.cs │ │ │ │ │ ├── XRoot.cs │ │ │ │ │ └── XRootNamespace.cs │ │ │ ├── SchemaGen │ │ │ │ └── SourceType.cs │ │ │ └── XMLNamespaceFactory.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── Utility │ │ │ ├── SchemaItemProcessedEventArgs.cs │ │ │ └── SystemTypeMapper.cs │ │ ├── GlobalAssemblyInfo.cs │ │ └── packages │ │ └── repositories.config ├── PLINQO-NH │ ├── CSharp │ │ ├── Entities.cst │ │ ├── Hbms.cst │ │ ├── Internal │ │ │ ├── DataContext.Editable.cst │ │ │ ├── DataContext.Generated.cst │ │ │ ├── Entity.Editable.cst │ │ │ ├── Entity.Generated.cst │ │ │ ├── EntityBase.Editable.cst │ │ │ ├── EntityBase.Generated.cst │ │ │ ├── Function.Editable.cst │ │ │ ├── Function.Generated.cst │ │ │ ├── Hbm.Entity.cst │ │ │ ├── Hbm.Function.cst │ │ │ ├── NHibernateHelper.cs │ │ │ ├── Queries.Editable.cst │ │ │ └── Queries.Generated.cst │ │ └── Queries.cst │ ├── Common │ │ ├── CodeSmith.Data │ │ │ ├── CodeSmith.Data.NHibernate.dll │ │ │ └── CodeSmith.Data.dll │ │ ├── CodeSmith.SchemaHelper.NHibernate.dll │ │ ├── CodeSmith.SchemaHelper.dll │ │ ├── CodeSmith.SchemaHelper.xml │ │ ├── DbTypeToNHibernate.csmap │ │ ├── Entities.csp │ │ ├── Generator.QuickStart.dll │ │ ├── Generator.QuickStart.xml │ │ ├── Ionic.Zip.Reduced.dll │ │ ├── KeywordRenameAlias.csmap │ │ ├── NHibernate │ │ │ ├── Antlr3.Runtime.dll │ │ │ ├── Castle.Core.dll │ │ │ ├── Castle.Core.xml │ │ │ ├── Iesi.Collections.dll │ │ │ ├── Iesi.Collections.xml │ │ │ ├── NHibernate.ByteCode.Castle.dll │ │ │ ├── NHibernate.ByteCode.Castle.xml │ │ │ ├── NHibernate.dll │ │ │ ├── NHibernate.xml │ │ │ ├── Remotion.Linq.dll │ │ │ ├── nhibernate-configuration.xsd │ │ │ └── nhibernate-mapping.xsd │ │ ├── NHibernateToNullableType.csmap │ │ ├── NHibernateToSystemType.csmap │ │ ├── NUnit │ │ │ ├── fit-license.txt │ │ │ ├── license.txt │ │ │ ├── nunit.framework.dll │ │ │ └── rowtest-license.txt │ │ ├── QuickStartSolution.cst │ │ ├── v4.0 │ │ │ └── CSharp │ │ │ │ ├── DataProject.zip │ │ │ │ └── MvcProject.zip │ │ └── v4.5 │ │ │ └── CSharp │ │ │ ├── DataProject.zip │ │ │ └── MvcProject.zip │ ├── Master.proj │ ├── QuickStart.cst │ ├── Readme.url │ └── Source │ │ ├── CodeSmith.Data.NHibernate.Tests │ │ ├── CodeSmith.Data.NHibernate.Tests.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── SchemaHelperTests.cs │ │ ├── CodeSmith.Data.NHibernate.sln │ │ ├── CodeSmith.Data.NHibernate │ │ ├── CodeSmith.Data.NHibernate.csproj │ │ ├── DataContext │ │ │ ├── INHibernateDataContext.cs │ │ │ ├── INHibernateDataContextAdvanced.cs │ │ │ ├── NHibernateDataContext.cs │ │ │ └── NHibernateDataContextProvider.cs │ │ ├── Entities │ │ │ ├── ITable.cs │ │ │ ├── IView.cs │ │ │ ├── Tables.cs │ │ │ └── View.cs │ │ ├── Extensions │ │ │ └── QueryExtensions.cs │ │ ├── Future │ │ │ ├── INHibernateFutureQuery.cs │ │ │ ├── NHibernateFutureQuery.cs │ │ │ └── NHibernateFutureValue.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Session │ │ │ ├── IStateSession.cs │ │ │ ├── StateSession.cs │ │ │ ├── StatefulSession.cs │ │ │ └── StatelessSession.cs │ │ └── XmlType.cs │ │ └── CodeSmith.SchemaHelper.NHibernate │ │ ├── CodeSmith.SchemaHelper.NHibernate.csproj │ │ ├── NHibernateAssociation.cs │ │ ├── NHibernateAssociationProperty.cs │ │ ├── NHibernateCommandEntity.cs │ │ ├── NHibernateCommandProperty.cs │ │ ├── NHibernateEntity.cs │ │ ├── NHibernateExtensions.cs │ │ ├── NHibernateProperty.cs │ │ ├── NHibernateProvider.cs │ │ ├── NHibernateUtilities.cs │ │ └── Properties │ │ └── AssemblyInfo.cs └── PLINQO │ ├── CSharp │ ├── Dbml.cst │ ├── Entities.cst │ ├── Internal │ │ ├── DataContext.Editable.cst │ │ ├── DataContext.Generated.cst │ │ ├── DataContext.Manager.cst │ │ ├── DataManager.cst │ │ ├── Entity.Base.Editable.cst │ │ ├── Entity.Base.Generated.cst │ │ ├── Entity.Editable.cst │ │ ├── Entity.Generated.cst │ │ ├── Entity.Interface.cst │ │ ├── EntityManager.Editable.cst │ │ ├── EntityManager.Generated.cst │ │ ├── Enums.cst │ │ ├── Manager.cs │ │ ├── QueryExtension.Editable.cst │ │ └── QueryExtension.Generated.cst │ ├── Managers.cst │ └── Queries.cst │ ├── Common │ ├── CodeSmith.CodeParser.dll │ ├── CodeSmith.Data.chm │ ├── CodeSmith.InsertClassMergeStrategy.dll │ ├── Dbml.dll │ ├── DbmlSchema.xsd │ ├── Enyim.Caching.XML │ ├── Enyim.Caching.dll │ ├── Generator.dll │ ├── ICSharpCode.NRefactory.dll │ ├── Ionic.Zip.Reduced.dll │ ├── QuickStartData.csp │ ├── QuickStartQuery.csp │ ├── QuickStartSolution.cst │ ├── QuickStartUtils.dll │ ├── memcached.exe │ ├── v3.5 │ │ ├── CSharp │ │ │ ├── DataProject.zip │ │ │ ├── DataServiceApplication.zip │ │ │ ├── DataServiceWebsite.zip │ │ │ ├── TestProject.zip │ │ │ ├── WebApplication.zip │ │ │ └── WebSite.zip │ │ ├── CodeSmith.Data.LinqToSql.XML │ │ ├── CodeSmith.Data.LinqToSql.dll │ │ ├── CodeSmith.Data.Memcached.dll │ │ ├── CodeSmith.Data.XML │ │ ├── CodeSmith.Data.dll │ │ └── VisualBasic │ │ │ ├── DataProject.zip │ │ │ ├── DataServiceApplication.zip │ │ │ ├── DataServiceWebsite.zip │ │ │ ├── TestProject.zip │ │ │ ├── WebApplication.zip │ │ │ └── WebSite.zip │ ├── v4.0 │ │ ├── CSharp │ │ │ ├── DataProject.zip │ │ │ ├── DataServiceApplication.zip │ │ │ ├── DataServiceWebsite.zip │ │ │ ├── TestProject.zip │ │ │ ├── WebApplication.zip │ │ │ └── WebSite.zip │ │ ├── CodeSmith.Data.LinqToSql.XML │ │ ├── CodeSmith.Data.LinqToSql.dll │ │ ├── CodeSmith.Data.Memcached.dll │ │ ├── CodeSmith.Data.XML │ │ ├── CodeSmith.Data.dll │ │ └── VisualBasic │ │ │ ├── DataProject.zip │ │ │ ├── DataServiceApplication.zip │ │ │ ├── DataServiceWebsite.zip │ │ │ ├── TestProject.zip │ │ │ ├── WebApplication.zip │ │ │ └── WebSite.zip │ └── v4.5 │ │ ├── CSharp │ │ ├── DataProject.zip │ │ ├── DataServiceApplication.zip │ │ ├── DataServiceWebsite.zip │ │ ├── TestProject.zip │ │ ├── WebApplication.zip │ │ └── WebSite.zip │ │ ├── CodeSmith.Data.LinqToSql.XML │ │ ├── CodeSmith.Data.LinqToSql.dll │ │ ├── CodeSmith.Data.Memcached.dll │ │ ├── CodeSmith.Data.XML │ │ ├── CodeSmith.Data.dll │ │ └── VisualBasic │ │ ├── DataProject.zip │ │ ├── DataServiceApplication.zip │ │ ├── DataServiceWebsite.zip │ │ ├── TestProject.zip │ │ ├── WebApplication.zip │ │ └── WebSite.zip │ ├── Master.proj │ ├── QuickStart.cst │ ├── Readme.url │ ├── Source │ ├── CodeSmith.Data.LinqToSql │ │ ├── CodeSmith.Data.LinqToSql.csproj │ │ ├── DataContext │ │ │ ├── DataContextBase.cs │ │ │ └── LinqToSqlDataContextProvider.cs │ │ ├── Extensions │ │ │ ├── CacheSettingsExtensions.cs │ │ │ ├── DataContextExtensions.cs │ │ │ ├── FromCacheExtensions.cs │ │ │ ├── FromCacheFirstOrDefaultExtensions.cs │ │ │ ├── FutureCacheCountExtensions.cs │ │ │ ├── FutureCacheExtensions.cs │ │ │ ├── FutureCacheFirstOrDefaultExtensions.cs │ │ │ ├── TableExtensions.cs │ │ │ └── UtilityExtensions.cs │ │ ├── Future │ │ │ ├── FutureCount.cs │ │ │ ├── FutureQuery.cs │ │ │ ├── FutureQueryBase.cs │ │ │ ├── FutureValue.cs │ │ │ └── ILinqToSqlFutureQuery.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── CodeSmith.Data.Memcached │ │ ├── CodeSmith.Data.Memcached.csproj │ │ ├── MemcachedProvider.cs │ │ └── Properties │ │ │ └── AssemblyInfo.cs │ ├── CodeSmith.Data │ │ ├── Attributes │ │ │ ├── GuidAttribute.cs │ │ │ ├── IpAddressAttribute.cs │ │ │ ├── NotNullAttribute.cs │ │ │ ├── NowAttribute.cs │ │ │ ├── RuleAttributeBase.cs │ │ │ └── UserNameAttribute.cs │ │ ├── Audit │ │ │ ├── AlwaysAuditAttribute.cs │ │ │ ├── Audit.xsd │ │ │ ├── AuditAction.cs │ │ │ ├── AuditAttribute.cs │ │ │ ├── AuditEntity.cs │ │ │ ├── AuditKey.cs │ │ │ ├── AuditKeyCollection.cs │ │ │ ├── AuditLog.cs │ │ │ ├── AuditManager.cs │ │ │ ├── AuditProperty.cs │ │ │ ├── AuditPropertyCollection.cs │ │ │ ├── AuditPropertyFormatAttribute.cs │ │ │ └── NotAuditedAttribute.cs │ │ ├── Caching │ │ │ ├── CacheManager.cs │ │ │ ├── CacheManagerSection.cs │ │ │ ├── CacheProvider.cs │ │ │ ├── CacheProviderCollection.cs │ │ │ ├── CacheSettings.cs │ │ │ ├── CacheSettingsExtensions.cs │ │ │ ├── HttpCacheProvider.cs │ │ │ ├── ICacheProvider.cs │ │ │ ├── ProfileElement.cs │ │ │ ├── ProfileElementCollection.cs │ │ │ ├── QueryResultCache.cs │ │ │ └── StaticCacheProvider.cs │ │ ├── CodeSmith.Data.csproj │ │ ├── CodeSmith.Data.snk │ │ ├── Collections │ │ │ └── ConcurrentDictionary.cs │ │ ├── DataContext │ │ │ ├── DataContextProvider.cs │ │ │ ├── IDataContext.cs │ │ │ └── IDataContextProvider.cs │ │ ├── DataManagerBase.cs │ │ ├── EntityKey.cs │ │ ├── EntityManagerBase.cs │ │ ├── Extensions │ │ │ ├── ClearCacheExtensions.cs │ │ │ ├── ClearCacheFirstOrDefaultExtensions.cs │ │ │ ├── FromCacheExtensions.cs │ │ │ ├── FromCacheFirstOrDefaultExtensions.cs │ │ │ ├── FutureCacheCountExtensions.cs │ │ │ ├── FutureCacheExtensions.cs │ │ │ ├── FutureCacheFirstOrDefaultExtensions.cs │ │ │ ├── FutureExtensions.cs │ │ │ ├── PagingExtensions.cs │ │ │ └── UtilityExtensions.cs │ │ ├── Future │ │ │ ├── FutureException.cs │ │ │ ├── IFutureContext.cs │ │ │ ├── IFutureQuery.cs │ │ │ ├── IFutureValue.cs │ │ │ └── LoadedFutureValue.cs │ │ ├── IDataManager.cs │ │ ├── IEntityManager.cs │ │ ├── ILinqEntity.cs │ │ ├── Linq │ │ │ ├── ComparisonOperator.cs │ │ │ ├── ContainmentOperator.cs │ │ │ ├── DynamicQuery.cs │ │ │ ├── Evaluator.cs │ │ │ ├── ExpressionVisitor.cs │ │ │ ├── IPagedList.cs │ │ │ ├── PagedList.cs │ │ │ ├── SerializationExtensions.cs │ │ │ └── XElementExtensions.cs │ │ ├── Properties │ │ │ ├── AssemblyInfo.cs │ │ │ ├── Resources.Designer.cs │ │ │ └── Resources.resx │ │ ├── Rules │ │ │ ├── Assign │ │ │ │ ├── DefaultValueRule.cs │ │ │ │ ├── GuidRule.cs │ │ │ │ ├── IpAddressRule.cs │ │ │ │ ├── NowRule.cs │ │ │ │ └── UserNameRule.cs │ │ │ ├── BrokenRule.cs │ │ │ ├── BrokenRuleCollection.cs │ │ │ ├── BrokenRuleException.cs │ │ │ ├── EntityState.cs │ │ │ ├── IRule.cs │ │ │ ├── PropertyRuleBase.cs │ │ │ ├── RuleCollection.cs │ │ │ ├── RuleContext.cs │ │ │ ├── RuleList.cs │ │ │ ├── RuleManager.cs │ │ │ ├── Security │ │ │ │ ├── AuthorizationRuleBase.cs │ │ │ │ ├── CreateRule.cs │ │ │ │ ├── DeleteRule.cs │ │ │ │ └── UpdateRule.cs │ │ │ └── Validation │ │ │ │ ├── CompareRule.cs │ │ │ │ ├── ComparisonOperator.cs │ │ │ │ ├── CustomRule.cs │ │ │ │ ├── LengthRule.cs │ │ │ │ ├── NotNullRule.cs │ │ │ │ ├── RangeRule.cs │ │ │ │ ├── RegexRule.cs │ │ │ │ └── RequiredRule.cs │ │ ├── Serialization │ │ │ ├── ByteArrayConverter.cs │ │ │ ├── ByteArrayTypeConverter.cs │ │ │ └── JavaScriptSerializerExtensions.cs │ │ ├── TrackedObject.cs │ │ └── Web │ │ │ └── LinqCacheDataSource.cs │ ├── Dbml │ │ ├── AccessModifier.cs │ │ ├── Association.cs │ │ ├── AssociationCollection.cs │ │ ├── AssociationKey.cs │ │ ├── AutoSync.cs │ │ ├── Cardinality.cs │ │ ├── ClassModifier.cs │ │ ├── Column.cs │ │ ├── ColumnCollection.cs │ │ ├── Connection.cs │ │ ├── ConnectionMode.cs │ │ ├── Database.cs │ │ ├── Dbml.cs │ │ ├── Dbml.csproj │ │ ├── DbmlConstant.cs │ │ ├── DbmlDefaultValueAssigner.cs │ │ ├── DbmlDefaultValueNullifier.cs │ │ ├── DbmlDuplicator.cs │ │ ├── DbmlReader.cs │ │ ├── DbmlSerializer.cs │ │ ├── DbmlVisitor.cs │ │ ├── Error.cs │ │ ├── Function.cs │ │ ├── FunctionCollection.cs │ │ ├── IProcessed.cs │ │ ├── MemberModifier.cs │ │ ├── Naming.cs │ │ ├── Node.cs │ │ ├── PairAssociations.cs │ │ ├── Parameter.cs │ │ ├── ParameterCollection.cs │ │ ├── ParameterDirection.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Return.cs │ │ ├── SerializationMode.cs │ │ ├── Strings.cs │ │ ├── Table.cs │ │ ├── TableCollection.cs │ │ ├── TableFunction.cs │ │ ├── TableFunctionParameter.cs │ │ ├── TableFunctionParameterCollection.cs │ │ ├── TableFunctionReturn.cs │ │ ├── Type.cs │ │ ├── TypeCollection.cs │ │ ├── TypeTableLookup.cs │ │ ├── UpdateCheck.cs │ │ ├── VerifyDbml.cs │ │ └── Version.cs │ ├── Generator │ │ ├── CommonUtility.cs │ │ ├── DbmlEnum.cs │ │ ├── DbmlEnum.xsd │ │ ├── DbmlGenerator.cs │ │ ├── Enums.cs │ │ ├── Generator.csproj │ │ ├── GeneratorSettings.cs │ │ ├── NamingProperty.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── SchemaItemProcessedEventArgs.cs │ ├── GlobalAssemblyInfo.cs │ ├── Help │ │ └── CodeSmith.Data.shfbproj │ ├── Plinqo.sln │ └── QuickStart │ │ ├── DataProjectCreator.cs │ │ ├── Enums.cs │ │ ├── PathHelper.cs │ │ ├── ProjectBuilderSettings.cs │ │ ├── ProjectCreator.cs │ │ ├── QuickStartUtils.cs │ │ ├── QuickStartUtils.csproj │ │ ├── SolutionItem.cs │ │ ├── TestProjectCreator.cs │ │ ├── WebApplicationCreator.cs │ │ └── WebSiteCreator.cs │ └── VisualBasic │ ├── Dbml.cst │ ├── Entities.cst │ ├── Internal │ ├── DataContext.Editable.cst │ ├── DataContext.Generated.cst │ ├── DataContext.Manager.cst │ ├── DataManager.cst │ ├── Entity.Base.Editable.cst │ ├── Entity.Base.Generated.cst │ ├── Entity.Editable.cst │ ├── Entity.Generated.cst │ ├── Entity.Interface.cst │ ├── EntityManager.Editable.cst │ ├── EntityManager.Generated.cst │ ├── Enums.cst │ ├── Manager.vb │ └── QueryExtension.Generated.cst │ ├── Managers.cst │ └── Queries.cst └── Other └── Json ├── JsonToClasses.cst ├── sample.json └── sample2.json /Data/Northwind.vdb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Data/Northwind.vdb3 -------------------------------------------------------------------------------- /Data/PetShop.db3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Data/PetShop.db3 -------------------------------------------------------------------------------- /Data/PetShop.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Data/PetShop.sql -------------------------------------------------------------------------------- /Data/PetShop.vdb3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Data/PetShop.vdb3 -------------------------------------------------------------------------------- /Data/PetShop.vdb4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Data/PetShop.vdb4 -------------------------------------------------------------------------------- /Data/Tracker.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Data/Tracker.sql -------------------------------------------------------------------------------- /Projects/CSharp/APISample/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | 3 | [assembly: AssemblyTitle("APISample")] 4 | [assembly: AssemblyDescription("CodeSmith is a template-based code generation system.")] 5 | [assembly: AssemblyCompany("CodeSmith Tools, LLC")] 6 | [assembly: AssemblyProduct("CodeSmith Generator")] 7 | [assembly: AssemblyCopyright("Copyright (c) 2002-2017 CodeSmith Tools, LLC. All rights reserved.")] -------------------------------------------------------------------------------- /Projects/CSharp/APISample/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Projects/CSharp/APISample/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Projects/CSharp/APISample/readme.txt: -------------------------------------------------------------------------------- 1 | This project contains a sample of using the CodeSmith.Engine.dll API programmatically. 2 | 3 | This sample assumes that a SQL Server PetShop database has been created. The script can 4 | to create the database can be found in the Data folder. -------------------------------------------------------------------------------- /Projects/CSharp/CustomPropertiesSample/CustomPropertiesSample.cs: -------------------------------------------------------------------------------- 1 | // This class generated by CodeSmith on June 9, 2017 2 | 3 | // DropDownEditorProperty.SampleString: Hello World! 4 | // DropDownEditorProperty.SampleBoolean: False 5 | // ModalEditorProperty.SampleString: Hello World! 6 | // ModalEditorProperty.SampleBoolean: True 7 | 8 | -------------------------------------------------------------------------------- /Projects/CSharp/CustomPropertiesSample/CustomPropertiesSample.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | False 7 | Hello World! 8 | 9 | 10 | True 11 | Hello World! 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Projects/CSharp/CustomPropertiesSample/GenerateCode.bat: -------------------------------------------------------------------------------- 1 | cs PurchaseOrderXml.csp CustomPropertiesSample.csp -------------------------------------------------------------------------------- /Projects/CSharp/CustomPropertiesSample/readme.txt: -------------------------------------------------------------------------------- 1 | This project contains a sample of creating custom types and type editors for use as CodeSmith Generator properties. 2 | 3 | The PurchaseOrderXml.cst contains an example of using a custom type that supports XML serialization in CodeSmith Generator as an alternative to using the XmlProperty directive. 4 | 5 | Try double-clicking on the CustomPropertiesSample.cst template in windows explorer to see these custom types in use. 6 | -------------------------------------------------------------------------------- /Projects/Framework Samples.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=https://github.com/codesmithtools/Framework-Samples 3 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 2 9 | true 10 | 11 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Projects/VisualBasic/APISample/readme.txt: -------------------------------------------------------------------------------- 1 | This project contains a sample of using the CodeSmith.Engine.dll API programmatically. 2 | 3 | This sample assumes that a SQL Server PetShop database has been created. The script can 4 | to create the database can be found in the Data folder. -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/CustomPropertiesSample.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | False 7 | Hello World! 8 | 9 | 10 | True 11 | Hello World! 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/GenerateCode.bat: -------------------------------------------------------------------------------- 1 | cs PurchaseOrderXml.csp CustomPropertiesSample.csp 2 | -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/My Project/Application.Designer.vb: -------------------------------------------------------------------------------- 1 | '------------------------------------------------------------------------------ 2 | ' 3 | ' This code was generated by a tool. 4 | ' Runtime Version:4.0.30319.42000 5 | ' 6 | ' Changes to this file may cause incorrect behavior and will be lost if 7 | ' the code is regenerated. 8 | ' 9 | '------------------------------------------------------------------------------ 10 | 11 | Option Strict On 12 | Option Explicit On 13 | 14 | -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/My Project/Application.myapp: -------------------------------------------------------------------------------- 1 |  2 | 3 | false 4 | false 5 | 0 6 | true 7 | 0 8 | 2 9 | true 10 | 11 | -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/My Project/AssemblyInfo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | Imports System.Reflection 3 | Imports System.Runtime.InteropServices 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/My Project/Settings.settings: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Projects/VisualBasic/CustomPropertiesSample/readme.txt: -------------------------------------------------------------------------------- 1 | This project contains a sample of creating custom types and type editors for use as CodeSmith properties. 2 | 3 | The PurchaseOrderXml.cst contains an example of using a custom type that supports XML serialization in CodeSmith as an alternative to using the XmlProperty directive. 4 | 5 | Try double-clicking on the CustomPropertiesSample.cst template in windows explorer to see these custom types in use. 6 | -------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.Alert.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap alert." %> 2 | <%@ Property Name="Title" Type="System.String" Category="1. Required" Default="Well done!" Description="The alert header" %> 3 | <%@ Property Name="Message" Type="System.String" Category="1. Required" Default="You successfully read this important alert message." Description="The alert message" %> 4 | 5 |
6 | 7 | 8 | <%= Title %> <%= Message %> 9 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.Breadcrumbs.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap breadcrumbs." %> 2 | <%@ Property Name="BreadCrumbs" Type="System.Collections.Generic.List" Category="1. Required" Description="A comment delimited list of breadcrumbs to create." %> 3 | 4 | -------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.ButtonGroup.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap button group." %> 2 | <%@ Property Name="Buttons" Type="System.Collections.Generic.List" Category="1. Required" Description="A comment delimited list of buttons to create." %> 3 | 4 |
5 | <% foreach (var button in Buttons.AsIndexedEnumerable()) { %> 6 | 7 | <% } %> 8 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.Jumbotron.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap jumbotron." %> 2 | <%@ Property Name="Title" Type="System.String" Category="1. Required" Default="Hello, World!" Description="The jumbotron header" %> 3 | <%@ Property Name="Content" Type="System.String" Category="1. Required" Default="This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information." Description="The jumbotron content" %> 4 |
5 |
6 |

<%= Title %>

7 |

<%= Content %>

8 |

Learn more

9 |
10 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.ListGroup.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap list group." %> 2 | <%@ Property Name="ListGroupItems" Type="System.Collections.Generic.List" Category="1. Required" Description="A comment delimited list of list group items to create." %> 3 | 4 |
    5 | <% foreach (var item in ListGroupItems.AsIndexedEnumerable()) { %> 6 |
  • <%= item.Value %>
  • 7 | <% } %> 8 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.Pagination.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap pagination." %> 2 | <%@ Property Name="Start" Type="System.Int32" Default="1" Category="1. Required" Description="The page number to start with." %> 3 | <%@ Property Name="End" Type="System.Int32" Default="5" Category="1. Required" Description="The page number to end with." %> 4 | 5 |
    6 | class="disabled"<% } %>>« 7 | <% for (int index = Start; index <= End; index++) { %> 8 |
  • <%= index %>
  • 9 | <% } %> 10 | class="disabled"<% } %>>» 11 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.Progress.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap progress bar." %> 2 | <%@ Property Name="PercentComplete" Type="System.Int32" Default="60" Category="1. Required" Description="The percent complete the progress bar should be." %> 3 | 4 | 5 |
6 |
7 | <%= PercentComplete %>% Complete 8 |
9 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/HTML/Bootstrap.Tabs.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="HTML" Description="Generates HTML markup for a boostrap tabs." %> 2 | <%@ Property Name="Tabs" Type="System.Collections.Generic.List" Category="1. Required" Description="A comment delimited list of tabs to create." %> 3 | 4 | 9 | 10 |
11 | <% foreach (var tab in Tabs.AsIndexedEnumerable()) { %> 12 |
"> 13 |

<%= tab.Value %> Content.

14 |
15 | <% } %> 16 |
-------------------------------------------------------------------------------- /Templates/ActiveSnippets/VisualBasic/TableEnum.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: Table Enum 3 | Author: Paul Welter 4 | Description: Create an enum of tables. 5 | --%> 6 | <%@ CodeTemplate Language="VB" TargetLanguage="VB" Debug="False" Description="Create an enum of tables." %> 7 | <%@ Property Category="Database" Name="SourceDatabase" Type="SchemaExplorer.DatabaseSchema" Optional="False" Description="Database the table enums will come from." %> 8 | <%@ Assembly Name="SchemaExplorer" %> 9 | <%@ Assembly Name="System.Data" %> 10 | <%@ Import Namespace="SchemaExplorer" %> 11 | <%@ Import Namespace="System.Data" %> 12 | Public Enum <%= StringUtil.ToPascalCase(SourceDatabase.Name) %>Tables 13 | <% For Each table As TableSchema In SourceDatabase.Tables %> 14 | <%= StringUtil.ToPascalCase(table.Name) %> 15 | <% Next %> 16 | End Enum -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/Database.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Database Documentation 6 | Server 7 | .\PetShop\ 8 | PetShop 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/bin/ActiproSoftware.CodeHighlighter.Net20.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/bin/ActiproSoftware.CodeHighlighter.Net20.dll -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/bin/ActiproSoftware.Shared.Net20.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/bin/ActiproSoftware.Shared.Net20.dll -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/arrow.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/check_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/check_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/database_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/database_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/folder_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/folder_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/key_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/key_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/server.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/server.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/server_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/server_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/stored_proc_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/stored_proc_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/tables_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/tables_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/unchecked_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/unchecked_icon.gif -------------------------------------------------------------------------------- /Templates/Database/DBDocumenter/output/images/views_icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Database/DBDocumenter/output/images/views_icon.gif -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/CodeBehind.cst.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel; 2 | using CodeSmith.Engine; 3 | 4 | public class SampleCodeBehindClass : CodeTemplate 5 | { 6 | private bool _propertyFromCodeBehind = false; 7 | 8 | [Category("Options")] 9 | [Description("This property is inherited from the code behind file.")] 10 | public bool PropertyFromCodeBehind 11 | { 12 | get {return _propertyFromCodeBehind;} 13 | set {_propertyFromCodeBehind = value;} 14 | } 15 | 16 | public string GetSomething() 17 | { 18 | return "Something"; 19 | } 20 | } -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/CodeSmith101/sample1.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="Text" Description="This template demonstrates using expression write and code constructs." %> 2 | <%-- 3 | This template demonstrates using expression write and code constructs. 4 | --%> 5 | 6 | This is some static content (just like the static HTML in a ASP page). 7 | 8 | <%= "This is dynamic content using an expression write construct." %> 9 | 10 | <% Response.WriteLine("This is more dynamic content using a code block construct."); %> 11 | 12 | This is more static content. -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/CodeSmith101/sample2.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="Text" Description="This template demonstrates using template script blocks." %> 2 | <%-- 3 | This template demonstrates using template script blocks. 4 | --%> 5 | 6 | This is some static content (just like the static HTML in a ASP page). 7 | 8 | <%= SomeStringMethod() %> 9 | 10 | <% SomeRenderMethod(); %> 11 | 12 | This is more static content. 13 | 14 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/CodeSmith101/sample3.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" TargetLanguage="Text" Description="This template demonstrates using properties in your template." %> 2 | <%@ Property Name="Person" Type="System.String" Description="This will show up at the bottom of the property grid when the property is selected." %> 3 | <%-- 4 | This template demonstrates using properties in your template. 5 | --%> 6 | 7 | This is some static content (just like the static HTML in a ASP page). 8 | 9 | <%= "Hello " + this.Person + "!" %> 10 | 11 | This is more static content. 12 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/Includes/HeaderInclude.cst: -------------------------------------------------------------------------------- 1 | <%@ Property Name="SomeIncludeValue" Type="String" %> -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/Includes/Includes.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" Debug="True" LinePragmas="True" %> 2 | 3 | <%@ Property Name="SomeValue" Type="String" %> 4 | <%= GetDefaultCommentHeader() %> 5 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/MasterTemplate.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: MasterTemplate.cst 3 | Author: Eric J. Smith 4 | Description: Demonstrates the use of a sub-template. 5 | --%> 6 | <%@ CodeTemplate Language="C#" TargetLanguage="Text" Debug="True" Description="Demonstrates the use of a sub-template." %> 7 | <%@ Register Name="SubTemplate" Template="SubTemplate.cst" %> 8 | My master template content here. 9 | <% new SubTemplate().Render(this.Response); %> 10 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/PartialCodeBehind.cs: -------------------------------------------------------------------------------- 1 | // Name: Partial Template. 2 | // Author: Blake Niemyjski 3 | // Description: Shows off how to use a code behind as a partial class. 4 | 5 | using System; 6 | 7 | namespace MyCustomNameSpace 8 | { 9 | public partial class PartialTemplate 10 | { 11 | // This property uses the property that is declared in the template. 12 | public string PropertyInCodeBehind 13 | { 14 | get 15 | { 16 | return string.Format("{0}-Example", PropertyInTemplate); 17 | } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/PartialTemplate.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: Partial Template. 3 | Author: Blake Niemyjski 4 | Description: Shows off how to use a code behind as a partial class. 5 | --%> 6 | <%@ CodeTemplate Language="C#" TargetLanguage="Text" Src="PartialCodeBehind.cs" ClassName="PartialTemplate" NameSpace="MyCustomNameSpace" CompilerVersion="v3.5" Description="Shows off how to use a code behind as a partial class." %> 7 | <%@ Property Name="PropertyInTemplate" Type="System.String" Default="Test" Optional="False" Category="Required" Description="This property is in the Template." %> 8 | 9 | PropertyInTemplate: <%= PropertyInTemplate %> 10 | PropertyInCodeBehind: <%= PropertyInCodeBehind %> -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/ProgressReporting.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: ProgressReporting.cst 3 | Author: Eric J. Smith 4 | Description: Demonstrates how to report progress from templates. 5 | Template sets OutputType to None since this template does not output anything itself. 6 | --%> 7 | <%@ Template Language="C#" OutputType="None" Description="Demonstrates progress reporting." %> 8 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/SimpleTemplate.cst: -------------------------------------------------------------------------------- 1 | <%@ Template Language="C#" TargetLanguage="C#" Description="Demonstrates the most basic template." %> 2 | <%@ Property Name="SampleBooleanProperty" Type="System.Boolean" Default="True" Category="Options" Description="This is a sample boolean property." %> 3 | <%@ Property Name="SampleStringProperty" Type="System.String" Default="SampleString" Category="Options" Description="This is a sample string property." %> 4 | // This class generated by CodeSmith on <%= DateTime.Now.ToLongDateString() %> 5 | public class SimpleTemplate 6 | { 7 | public SimpleTemplate() : base() 8 | { 9 | } 10 | <% if (SampleBooleanProperty) { %> 11 | 12 | private void <%= SampleStringProperty %>() 13 | { 14 | // Do something 15 | } 16 | <% } %> 17 | } 18 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/SubTemplate.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: SubTemplate.cst 3 | Author: Eric J. Smith 4 | Description: Demonstrates the use of a sub-template. 5 | --%> 6 | <%@ CodeTemplate Language="C#" TargetLanguage="Text" Debug="False" Description="Demonstrates the use of a sub-template." %> 7 | My sub template content here. 8 | <% if (true) { %> 9 | True 10 | <% } else { %> 11 | False 12 | <% } %> 13 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/CSharp/UsingLinq.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="C#" 2 | TargetLanguage="Text" 3 | CompilerVersion="v3.5" 4 | Debug="False" 5 | Description="Sample using .net 3.5 syntax" %> 6 | 7 | 8 | Sample using .net 3.5 Linq syntax. 9 | 10 | Cities with length less then 5: 11 | 12 | <% SampleMethod(); %> 13 | 14 | 15 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/JavaScript/SimpleTemplate.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="JScript" TargetLanguage="JScript" Description="Demonstrates the most basic template." %> 2 | <%@ Property Name="SampleBooleanProperty" Type="System.Boolean" Default="True" Category="Options" Description="This is a sample boolean property." %> 3 | <%@ Property Name="SampleStringProperty" Type="System.String" Default="SampleString" Category="Options" Description="This is a sample string property." %> 4 | // This class generated by CodeSmith on <%= DateTime.Now.ToLongDateString() %> 5 | function SomeOtherFunction() 6 | { 7 | } 8 | <% if (SampleBooleanProperty) { %> 9 | 10 | function <%= SampleStringProperty %>() 11 | { 12 | // Do something 13 | } 14 | <% } %> 15 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/CodeBehind.cst.vb: -------------------------------------------------------------------------------- 1 | Imports System.ComponentModel 2 | Imports CodeSmith.Engine 3 | 4 | Public Class SampleCodeBehindClass 5 | Inherits CodeTemplate 6 | Private _propertyFromCodeBehind As Boolean = False 7 | 8 | _ 9 | _ 10 | Public Property PropertyFromCodeBehind() As Boolean 11 | Get 12 | Return _propertyFromCodeBehind 13 | End Get 14 | Set 15 | _propertyFromCodeBehind = value 16 | End Set 17 | End Property 18 | 19 | Public Function GetSomething() As String 20 | Return "Something" 21 | End Function 22 | End Class 23 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/CodeSmith101/sample1.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: sample1.cst 3 | Author: Tom DuPont 4 | Description: This template demonstrates using expression write and code constructs. 5 | --%> 6 | 7 | <%@ CodeTemplate Language="VB" TargetLanguage="Text" Description="This template demonstrates using expression write and code constructs." %> 8 | 9 | This is some static content (just like the static HTML in a ASP page). 10 | 11 | <%= "This is dynamic content using an expression write construct." %> 12 | 13 | <% Response.WriteLine("This is more dynamic content using a code block construct.") %> 14 | 15 | This is more static content. 16 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/CodeSmith101/sample3.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: sample3.cst 3 | Author: Tom DuPont 4 | Description: This template demonstrates using properties in your template. 5 | --%> 6 | 7 | <%@ CodeTemplate Language="VB" TargetLanguage="Text" Description="This template demonstrates using properties in your template." %> 8 | <%@ Property Name="Person" Type="System.String" Description="This will show up at the bottom of the property grid when the property is selected." %> 9 | 10 | This is some static content (just like the static HTML in a ASP page). 11 | 12 | <%= "Hello " + Me.Person + "!" %> 13 | 14 | This is more static content. 15 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/MasterTemplate.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: MasterTemplate.cst 3 | Author: Tom DuPont 4 | Description: Demonstrates the use of a sub-template. 5 | --%> 6 | 7 | <%@ CodeTemplate Language="VB" TargetLanguage="Text" Debug="True" Description="Demonstrates the use of a sub-template." %> 8 | <%@ Register Name="SubTemplate" Template="SubTemplate.cst" %> 9 | 10 | My master template content here. 11 | <% GetSomething() %> 12 | 13 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/PartialCodeBehind.vb: -------------------------------------------------------------------------------- 1 | ' Name: Partial Template. 2 | ' Author: Blake Niemyjski 3 | ' Description: Shows off how to use a code behind as a partial class. 4 | 5 | Imports System 6 | 7 | Namespace MyCustomNameSpace 8 | 9 | Public Partial Class PartialTemplate 10 | ' This property uses the property that is declared in the template. 11 | Public ReadOnly Property PropertyInCodeBehind As String 12 | Get 13 | Return String.Format("{0}-Example", PropertyInTemplate) 14 | End Get 15 | End Property 16 | End Class 17 | 18 | End Namespace -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/PartialTemplate.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: Partial Template. 3 | Author: Blake Niemyjski 4 | Description: Shows off how to use a code behind as a partial class. 5 | --%> 6 | <%@ CodeTemplate Language="VB" TargetLanguage="Text" Src="PartialCodeBehind.vb" ClassName="PartialTemplate" NameSpace="MyCustomNameSpace" CompilerVersion="v3.5" Description="Shows off how to use a code behind as a partial class." %> 7 | <%@ Property Name="PropertyInTemplate" Type="System.String" Default="Test" Optional="False" Category="Required" Description="This property is in the Template." %> 8 | 9 | PropertyInTemplate: <%= PropertyInTemplate %> 10 | PropertyInCodeBehind: <%= PropertyInCodeBehind %> -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/SimpleTemplate.cst: -------------------------------------------------------------------------------- 1 | <%@ CodeTemplate Language="VB" TargetLanguage="VB" Description="Demonstrates the most basic template." %> 2 | <%@ Property Name="SampleBooleanProperty" Type="System.Boolean" Default="True" Category="Options" Description="This is a sample boolean property." %> 3 | <%@ Property Name="SampleStringProperty" Type="System.String" Default="SampleString" Category="Options" Description="This is a sample string property." %> 4 | ' This class generated by CodeSmith on <%= DateTime.Now.ToLongDateString() %> <%= Environment.UserName %> 5 | Public Class SimpleTemplate 6 | Public Sub New() 7 | MyBase.New() 8 | End Sub 9 | <% If SampleBooleanProperty Then %> 10 | 11 | Private Sub <%= SampleStringProperty %>() 12 | ' Do something 13 | End Sub 14 | <% End If %> 15 | End Class 16 | -------------------------------------------------------------------------------- /Templates/Examples/BasicSamples/VisualBasic/SubTemplate.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: SubTemplate.cst 3 | Author: Tom DuPont 4 | Description: Demonstrates the use of a sub-template. 5 | --%> 6 | 7 | <%@ CodeTemplate Language="VB" TargetLanguage="Text" Debug="False" Description="Demonstrates the use of a sub-template." %> 8 | 9 | My sub template content here. 10 | <% If True Then %> 11 | True 12 | <% Else %> 13 | False 14 | <% End If %> 15 | -------------------------------------------------------------------------------- /Templates/Examples/Maps/MapSample.csmap: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | key1 6 | value1 7 | 8 | 9 | key2 10 | value2 11 | 12 | 13 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/CSharp/InsertRegionSample.cs: -------------------------------------------------------------------------------- 1 | public class InsertRegionsSample 2 | { 3 | 4 | public void SomeCustomMethod() 5 | { 6 | // This is my custom code that I want to preserve. 7 | // I can make changes to it and my changes will 8 | // not be overwritten. 9 | } 10 | 11 | #region Sample Generated Region 12 | // This region generated by CodeSmith on Thursday, November 12, 2020 13 | #endregion 14 | } -------------------------------------------------------------------------------- /Templates/Examples/Merge/CSharp/InsertRegionSample.cst: -------------------------------------------------------------------------------- 1 | <%@ Template Language="C#" TargetLanguage="C#" Description="Demonstrates using an InsertRegion merge strategy in C#." %> 2 | // This region generated by CodeSmith on <%= DateTime.Now.ToLongDateString() %> -------------------------------------------------------------------------------- /Templates/Examples/Merge/CSharp/MergeSamples.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/JavaScript/InsertRegionSample.cst: -------------------------------------------------------------------------------- 1 | <%@ Template Language="C#" TargetLanguage="JavaScript" Description="Demonstrates using an InsertRegion merge strategy in JavaScript." %> 2 | // This region generated by CodeSmith on <%= DateTime.Now.ToLongDateString() %> -------------------------------------------------------------------------------- /Templates/Examples/Merge/JavaScript/InsertRegionSample.js: -------------------------------------------------------------------------------- 1 | (function () { 2 | 'use strict'; 3 | 4 | function SomeCustomMethod () { 5 | // This is my custom code that I want to preserve. 6 | // I can make changes to it and my changes will 7 | // not be overwritten. 8 | } 9 | 10 | // region Sample Generated Region 11 | // This region generated by CodeSmith on Thursday, November 12, 2020 12 | // endregion 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/JavaScript/MergeSamples.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/SQL/MergeSamples.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/SQL/PreserveRegionsSample.cst: -------------------------------------------------------------------------------- 1 | <%@ Template Language="C#" TargetLanguage="T-SQL" Description="Demonstrates using a PreserveRegions merge strategy in TSQL." %> 2 | 3 | USE PetShop; 4 | GO 5 | 6 | IF OBJECT_ID ( 'dbo.GetAllAccounts', 'P' ) IS NOT NULL 7 | DROP PROCEDURE dbo.GetAllAccounts; 8 | GO 9 | 10 | CREATE PROCEDURE dbo.GetAllAccounts 11 | 12 | --region Custom Parameters 13 | 14 | --endregion 15 | 16 | AS 17 | 18 | --region Custom Preprocessing Logic 19 | 20 | --endregion 21 | 22 | SELECT * FROM dbo.Account 23 | 24 | --region Custom Postprocessing Logic 25 | 26 | --endregion 27 | 28 | GO -------------------------------------------------------------------------------- /Templates/Examples/Merge/SQL/PreserveRegionsSample.sql: -------------------------------------------------------------------------------- 1 | USE PetShop; 2 | GO 3 | 4 | IF OBJECT_ID ( 'dbo.GetAllAccounts', 'P' ) IS NOT NULL 5 | DROP PROCEDURE dbo.GetAllAccounts; 6 | GO 7 | 8 | CREATE PROCEDURE dbo.GetAllAccounts 9 | 10 | --region Custom Parameters 11 | 12 | --endregion 13 | 14 | AS 15 | 16 | --region Custom Preprocessing Logic 17 | 18 | --endregion 19 | 20 | SELECT * FROM dbo.Account 21 | 22 | --region Custom Postprocessing Logic 23 | 24 | --endregion 25 | 26 | GO -------------------------------------------------------------------------------- /Templates/Examples/Merge/VisualBasic/InsertRegionSample.cst: -------------------------------------------------------------------------------- 1 | <%@ Template Language="VB" TargetLanguage="VB" Description="Demonstrates using an InsertRegion merge strategy." %> 2 | ' This region generated by CodeSmith on <%= DateTime.Now.ToLongDateString() %> -------------------------------------------------------------------------------- /Templates/Examples/Merge/VisualBasic/InsertRegionSample.vb: -------------------------------------------------------------------------------- 1 | Public Class InsertRegionsSample 2 | 3 | Public Sub SomeCustomMethod() 4 | 5 | ' This is my custom code that I want to preserve. 6 | ' I can make changes to it and my changes will 7 | ' not be overwritten. 8 | 9 | End Sub 10 | 11 | 12 | #Region "Sample Generated Region" 13 | ' This region generated by CodeSmith on Thursday, November 12, 2020 14 | #End Region 15 | 16 | End Class 17 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/VisualBasic/MergeSamples.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/Xml/MergeSamples.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Examples/Merge/Xml/PreserveRegionsSample.xml: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | custom 6 | 7 | 8 | 9 | 10 | This section and all other non-custom code 11 | regions will be overwritten during each 12 | template execution. 13 | Current Date: 11:25:29 AM 14 | 15 | 16 | 17 | 18 | The contents of this region will also be preserved 19 | during generation. 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/EntityMaster.csp: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | output\ 6 | NorthwindMap.xml 7 | 8 | 9 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Category.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Category. 7 | /// 8 | public class Category 9 | { 10 | private Int32 _categoryID; 11 | private String _categoryName; 12 | private String _description; 13 | private Byte[] _picture; 14 | 15 | public Category() 16 | { 17 | } 18 | 19 | #region Custom - Methods 20 | // Insert custom methods in here so that they are preserved during re-generation. 21 | #endregion 22 | } 23 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Customer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Customer. 7 | /// 8 | public class Customer 9 | { 10 | private String _customerID; 11 | private String _companyName; 12 | private String _contactName; 13 | private String _contactTitle; 14 | private String _address; 15 | private String _city; 16 | private String _region; 17 | private String _postalCode; 18 | private String _country; 19 | private String _phone; 20 | private String _fax; 21 | 22 | public Customer() 23 | { 24 | } 25 | 26 | #region Custom - Methods 27 | // Insert custom methods in here so that they are preserved during re-generation. 28 | #endregion 29 | } 30 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/CustomerCustomerDemo.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a CustomerCustomerDemo. 7 | /// 8 | public class CustomerCustomerDemo 9 | { 10 | private String _customerID; 11 | private String _customerTypeID; 12 | 13 | public CustomerCustomerDemo() 14 | { 15 | } 16 | 17 | #region Custom - Methods 18 | // Insert custom methods in here so that they are preserved during re-generation. 19 | #endregion 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/CustomerDemographic.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a CustomerDemographic. 7 | /// 8 | public class CustomerDemographic 9 | { 10 | private String _customerTypeID; 11 | private String _customerDesc; 12 | 13 | public CustomerDemographic() 14 | { 15 | } 16 | 17 | #region Custom - Methods 18 | // Insert custom methods in here so that they are preserved during re-generation. 19 | #endregion 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/EmployeeTerritory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a EmployeeTerritory. 7 | /// 8 | public class EmployeeTerritory 9 | { 10 | private Int32 _employeeID; 11 | private String _territoryID; 12 | 13 | public EmployeeTerritory() 14 | { 15 | } 16 | 17 | #region Custom - Methods 18 | // Insert custom methods in here so that they are preserved during re-generation. 19 | #endregion 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/OrderDetail.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a OrderDetail. 7 | /// 8 | public class OrderDetail 9 | { 10 | private Int32 _orderID; 11 | private Int32 _productID; 12 | private Decimal _unitPrice; 13 | private Int16 _quantity; 14 | private Decimal _discount; 15 | 16 | public OrderDetail() 17 | { 18 | } 19 | 20 | #region Custom - Methods 21 | // Insert custom methods in here so that they are preserved during re-generation. 22 | #endregion 23 | } 24 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Product.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Product. 7 | /// 8 | public class Product 9 | { 10 | private Int32 _productID; 11 | private String _productName; 12 | private Int32 _supplierID; 13 | private Int32 _categoryID; 14 | private String _quantityPerUnit; 15 | private Decimal _unitPrice; 16 | private Int16 _unitsInStock; 17 | private Int16 _unitsOnOrder; 18 | private Int16 _reorderLevel; 19 | private Boolean _discontinued; 20 | 21 | public Product() 22 | { 23 | } 24 | 25 | #region Custom - Methods 26 | // Insert custom methods in here so that they are preserved during re-generation. 27 | #endregion 28 | } 29 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Region.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Region. 7 | /// 8 | public class Region 9 | { 10 | private Int32 _regionID; 11 | private String _regionDescription; 12 | 13 | public Region() 14 | { 15 | } 16 | 17 | #region Custom - Methods 18 | // Insert custom methods in here so that they are preserved during re-generation. 19 | #endregion 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Shipper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Shipper. 7 | /// 8 | public class Shipper 9 | { 10 | private Int32 _shipperID; 11 | private String _companyName; 12 | private String _phone; 13 | 14 | public Shipper() 15 | { 16 | } 17 | 18 | #region Custom - Methods 19 | // Insert custom methods in here so that they are preserved during re-generation. 20 | #endregion 21 | } 22 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Supplier.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Supplier. 7 | /// 8 | public class Supplier 9 | { 10 | private Int32 _supplierID; 11 | private String _companyName; 12 | private String _contactName; 13 | private String _contactTitle; 14 | private String _address; 15 | private String _city; 16 | private String _region; 17 | private String _postalCode; 18 | private String _country; 19 | private String _phone; 20 | private String _fax; 21 | private String _homePage; 22 | 23 | public Supplier() 24 | { 25 | } 26 | 27 | #region Custom - Methods 28 | // Insert custom methods in here so that they are preserved during re-generation. 29 | #endregion 30 | } 31 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/CSharp/output/Territory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Northwind.DAL 4 | { 5 | /// 6 | /// This object represents the properties and methods of a Territory. 7 | /// 8 | public class Territory 9 | { 10 | private String _territoryID; 11 | private String _territoryDescription; 12 | private Int32 _regionID; 13 | 14 | public Territory() 15 | { 16 | } 17 | 18 | #region Custom - Methods 19 | // Insert custom methods in here so that they are preserved during re-generation. 20 | #endregion 21 | } 22 | } -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/EntityMaster.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | NorthwindMap.xml 6 | output\ 7 | 8 | 9 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Category.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Category. 6 | ''' 7 | Public Class Category 8 | Private _categoryID As Int32 9 | Private _categoryName As String 10 | Private _description As String 11 | Private _picture As Byte[] 12 | 13 | Public Sub New() 14 | End Sub 15 | 16 | #region Custom - Methods 17 | ' Insert custom methods in here so that they are preserved during re-generation. 18 | #End Region 19 | End Class 20 | End Namespace 21 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Customer.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Customer. 6 | ''' 7 | Public Class Customer 8 | Private _customerID As String 9 | Private _companyName As String 10 | Private _contactName As String 11 | Private _contactTitle As String 12 | Private _address As String 13 | Private _city As String 14 | Private _region As String 15 | Private _postalCode As String 16 | Private _country As String 17 | Private _phone As String 18 | Private _fax As String 19 | 20 | Public Sub New() 21 | End Sub 22 | 23 | #region Custom - Methods 24 | ' Insert custom methods in here so that they are preserved during re-generation. 25 | #End Region 26 | End Class 27 | End Namespace 28 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/CustomerCustomerDemo.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a CustomerCustomerDemo. 6 | ''' 7 | Public Class CustomerCustomerDemo 8 | Private _customerID As String 9 | Private _customerTypeID As String 10 | 11 | Public Sub New() 12 | End Sub 13 | 14 | #region Custom - Methods 15 | ' Insert custom methods in here so that they are preserved during re-generation. 16 | #End Region 17 | End Class 18 | End Namespace 19 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/CustomerDemographic.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a CustomerDemographic. 6 | ''' 7 | Public Class CustomerDemographic 8 | Private _customerTypeID As String 9 | Private _customerDesc As String 10 | 11 | Public Sub New() 12 | End Sub 13 | 14 | #region Custom - Methods 15 | ' Insert custom methods in here so that they are preserved during re-generation. 16 | #End Region 17 | End Class 18 | End Namespace 19 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/EmployeeTerritory.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a EmployeeTerritory. 6 | ''' 7 | Public Class EmployeeTerritory 8 | Private _employeeID As Int32 9 | Private _territoryID As String 10 | 11 | Public Sub New() 12 | End Sub 13 | 14 | #region Custom - Methods 15 | ' Insert custom methods in here so that they are preserved during re-generation. 16 | #End Region 17 | End Class 18 | End Namespace 19 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/OrderDetail.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a OrderDetail. 6 | ''' 7 | Public Class OrderDetail 8 | Private _orderID As Int32 9 | Private _productID As Int32 10 | Private _unitPrice As Decimal 11 | Private _quantity As Int16 12 | Private _discount As Decimal 13 | 14 | Public Sub New() 15 | End Sub 16 | 17 | #region Custom - Methods 18 | ' Insert custom methods in here so that they are preserved during re-generation. 19 | #End Region 20 | End Class 21 | End Namespace 22 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Product.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Product. 6 | ''' 7 | Public Class Product 8 | Private _productID As Int32 9 | Private _productName As String 10 | Private _supplierID As Int32 11 | Private _categoryID As Int32 12 | Private _quantityPerUnit As String 13 | Private _unitPrice As Decimal 14 | Private _unitsInStock As Int16 15 | Private _unitsOnOrder As Int16 16 | Private _reorderLevel As Int16 17 | Private _discontinued As Boolean 18 | 19 | Public Sub New() 20 | End Sub 21 | 22 | #region Custom - Methods 23 | ' Insert custom methods in here so that they are preserved during re-generation. 24 | #End Region 25 | End Class 26 | End Namespace 27 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Region.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Region. 6 | ''' 7 | Public Class Region 8 | Private _regionID As Int32 9 | Private _regionDescription As String 10 | 11 | Public Sub New() 12 | End Sub 13 | 14 | #region Custom - Methods 15 | ' Insert custom methods in here so that they are preserved during re-generation. 16 | #End Region 17 | End Class 18 | End Namespace 19 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Shipper.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Shipper. 6 | ''' 7 | Public Class Shipper 8 | Private _shipperID As Int32 9 | Private _companyName As String 10 | Private _phone As String 11 | 12 | Public Sub New() 13 | End Sub 14 | 15 | #region Custom - Methods 16 | ' Insert custom methods in here so that they are preserved during re-generation. 17 | #End Region 18 | End Class 19 | End Namespace 20 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Supplier.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Supplier. 6 | ''' 7 | Public Class Supplier 8 | Private _supplierID As Int32 9 | Private _companyName As String 10 | Private _contactName As String 11 | Private _contactTitle As String 12 | Private _address As String 13 | Private _city As String 14 | Private _region As String 15 | Private _postalCode As String 16 | Private _country As String 17 | Private _phone As String 18 | Private _fax As String 19 | Private _homePage As String 20 | 21 | Public Sub New() 22 | End Sub 23 | 24 | #region Custom - Methods 25 | ' Insert custom methods in here so that they are preserved during re-generation. 26 | #End Region 27 | End Class 28 | End Namespace 29 | -------------------------------------------------------------------------------- /Templates/Examples/Xml/VisualBasic/output/Territory.vb: -------------------------------------------------------------------------------- 1 | Imports System 2 | 3 | Namespace Northwind.DAL 4 | ''' 5 | ''' This object represents the properties and methods of a Territory. 6 | ''' 7 | Public Class Territory 8 | Private _territoryID As String 9 | Private _territoryDescription As String 10 | Private _regionID As Int32 11 | 12 | Public Sub New() 13 | End Sub 14 | 15 | #region Custom - Methods 16 | ' Insert custom methods in here so that they are preserved during re-generation. 17 | #End Region 18 | End Class 19 | End Namespace 20 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/CSharp/Common/Constructor.cst: -------------------------------------------------------------------------------- 1 | <%-- Author: Blake Niemyjski --%> 2 | <%@ CodeTemplate Language="C#" TargetLanguage="C#" Inherits="Generator.CSLA.EntityCodeTemplate" %> 3 | <%@ Assembly Name="CodeSmith.SchemaHelper" Path="..\..\Common" %> 4 | <%@ Assembly Name="CodeSmith.SchemaHelper.Extensions" Path="..\..\Common" %> 5 | <%@ Assembly Name="CodeSmith.SchemaHelper.CSharpExtensions" Path="..\..\Common" %> 6 | <%@ Assembly Name="Generator.CSLA" Path="..\..\Common" %> 7 | <%@ Import Namespace="CodeSmith.SchemaHelper" %> 8 | <%@ Import Namespace="Generator.CSLA" %> 9 | #region Contructor(s) 10 | 11 | public <%= BusinessClassName %>() 12 | { /* Require use of factory methods */ } 13 | 14 | #endregion 15 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/CSharp/WebLayer/Internal/Default.aspx.cs.cst: -------------------------------------------------------------------------------- 1 | <%-- 2 | Name: Default.aspx.cs 3 | Author: Blake Niemyjski 4 | Description: The following template will generate a ASP.Net code behind. 5 | --%> 6 | <%@ CodeTemplate Language="C#" TargetLanguage="C#" Inherits="InterfaceCodeTemplate" %> 7 | <%@ Assembly Name="Generator.CSLA" Path="..\..\..\Common" %> 8 | <%@ Import Namespace="Generator.CSLA" %> 9 | #region using declarations 10 | 11 | using System; 12 | 13 | using Csla; 14 | 15 | using <%= BusinessProjectName %>; 16 | 17 | #endregion 18 | namespace <%= InterfaceProjectName %> 19 | { 20 | public partial class _Default : System.Web.UI.Page 21 | { 22 | protected void Page_Load(object sender, EventArgs e) 23 | { 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.CSharpExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.CSharpExtensions.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.Extensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.Extensions.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.VisualBasicExtensions.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.VisualBasicExtensions.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/CodeSmith.SchemaHelper.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/3.8/Client/Csla.XmlSerializers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/3.8/Client/Csla.XmlSerializers.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/3.8/Client/Csla.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/3.8/Client/Csla.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.3/Client/Csla.Windows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.3/Client/Csla.Windows.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.3/Client/Csla.Xaml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.3/Client/Csla.Xaml.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.3/Client/Csla.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.3/Client/Csla.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.3/Silverlight/Csla.Xaml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.3/Silverlight/Csla.Xaml.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.3/Silverlight/Csla.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.3/Silverlight/Csla.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.5/Client/Csla.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.5/Client/Csla.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.5/Client/Csla.dll.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.5/Silverlight/Csla.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Csla/4.5/Silverlight/Csla.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Csla/4.5/Silverlight/Csla.dll.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Generator.CSLA.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Generator.CSLA.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Generator.QuickStart.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Generator.QuickStart.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/Ionic.Zip.Reduced.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/Ionic.Zip.Reduced.dll -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/KeywordRenameAlias.csmap: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Descn 6 | Description 7 | 8 | 9 | ID 10 | Identification 11 | 12 | 13 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v3.5/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v3.5/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v3.5/CSharp/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v3.5/CSharp/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v3.5/VisualBasic/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v3.5/VisualBasic/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v3.5/VisualBasic/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v3.5/VisualBasic/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.0/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.0/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.0/CSharp/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.0/CSharp/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.0/VisualBasic/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.0/VisualBasic/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.0/VisualBasic/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.0/VisualBasic/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.5/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.5/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.5/CSharp/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.5/CSharp/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.5/VisualBasic/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.5/VisualBasic/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Common/v4.5/VisualBasic/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Common/v4.5/VisualBasic/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Readme.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=http://docs.codesmithtools.com/display/CSLA/Home 3 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Source/.nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Source/.nuget/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Source/.nuget/NuGet.exe -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Source/Build/Build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | "..\.nuget\NuGet.exe" pack CodeSmith.Generator.CSLA.nuspec -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Source/Build/Entities.csp: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | %projectname% 6 | %solutionname% 7 | .\ 8 | %version% 9 | 10 | 11 | -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Source/Build/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/Csla/Source/Build/readme.txt -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/Source/Generator.CSLA/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | [assembly: AssemblyTitle("Generator.CSLA")] 5 | [assembly: AssemblyProduct("CodeSmith Generator CSLA Templates")] 6 | [assembly: AssemblyConfiguration("")] 7 | [assembly: AssemblyCompany("CodeSmith Tools, LLC.")] 8 | [assembly: AssemblyCopyright("Copyright © 2012")] 9 | [assembly: ComVisible(false)] 10 | [assembly: Guid("701d9d10-4b4d-42e0-af2a-4d9dd8ae631a")] 11 | [assembly: AssemblyVersion("4.0.0.0")] 12 | [assembly: AssemblyFileVersion("4.0.0.0")] -------------------------------------------------------------------------------- /Templates/Frameworks/Csla/VisualBasic/Common/Constructor.cst: -------------------------------------------------------------------------------- 1 | <%-- Author: Blake Niemyjski --%> 2 | <%@ CodeTemplate Language="VB" TargetLanguage="VB" Inherits="Generator.CSLA.EntityCodeTemplate" %> 3 | <%@ Assembly Name="CodeSmith.SchemaHelper" Path="..\..\Common" %> 4 | <%@ Assembly Name="CodeSmith.SchemaHelper.Extensions" Path="..\..\Common" %> 5 | <%@ Assembly Name="CodeSmith.SchemaHelper.VisualBasicExtensions" Path="..\..\Common" %> 6 | <%@ Assembly Name="Generator.CSLA" Path="..\..\Common" %> 7 | <%@ Import Namespace="CodeSmith.SchemaHelper" %> 8 | <%@ Import Namespace="Generator.CSLA" %> 9 | #Region "Contructor(s)" 10 | 11 | public Sub New() 12 | ' require use of factory method 13 | End Sub 14 | 15 | #End Region -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Common/ICSharpCode.NRefactory.CSharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF-DbContext/Common/ICSharpCode.NRefactory.CSharp.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Common/ICSharpCode.NRefactory.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF-DbContext/Common/ICSharpCode.NRefactory.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Common/Mono.Cecil.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF-DbContext/Common/Mono.Cecil.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/.nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/.nuget/NuGet.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF-DbContext/Source/.nuget/NuGet.exe -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Build/Build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | del *.nupkg 3 | "..\.nuget\NuGet.exe" pack PLINQO.EntityFramework.DbContext.nuspec 4 | copy *.nupkg c:\projects\NuGet\ -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Build/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF-DbContext/Source/Build/readme.txt -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Local.testsettings: -------------------------------------------------------------------------------- 1 |  2 | 3 | These are default test settings for a local test run. 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Account.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Account 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/BannerData.Generated.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a CodeSmith Template. 4 | // 5 | // DO NOT MODIFY contents of this file. Changes to this 6 | // file will be lost if the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Text; 12 | 13 | namespace Petshop.Data.Entities 14 | { 15 | public partial class BannerData 16 | { 17 | public BannerData() 18 | { 19 | } 20 | 21 | public string FavCategory { get; set; } 22 | public string BannerDataMember { get; set; } 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/BannerData.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class BannerData 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Category.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Category 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Inventory.Generated.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a CodeSmith Template. 4 | // 5 | // DO NOT MODIFY contents of this file. Changes to this 6 | // file will be lost if the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Text; 12 | 13 | namespace Petshop.Data.Entities 14 | { 15 | public partial class Inventory 16 | { 17 | public Inventory() 18 | { 19 | } 20 | 21 | public string ItemId { get; set; } 22 | public int Qty { get; set; } 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Inventory.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Inventory 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Item.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Item 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/LineItem.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class LineItem 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/OrderStatus.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class OrderStatus 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Orders.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Orders 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Product.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Product 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Profile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Profile 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/SignOn.Generated.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a CodeSmith Template. 4 | // 5 | // DO NOT MODIFY contents of this file. Changes to this 6 | // file will be lost if the code is regenerated. 7 | // 8 | //------------------------------------------------------------------------------ 9 | using System; 10 | using System.Collections.Generic; 11 | using System.Text; 12 | 13 | namespace Petshop.Data.Entities 14 | { 15 | public partial class SignOn 16 | { 17 | public SignOn() 18 | { 19 | } 20 | 21 | public string UserName { get; set; } 22 | public string Password { get; set; } 23 | 24 | } 25 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/SignOn.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class SignOn 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Entities/Supplier.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Entities 6 | { 7 | public partial class Supplier 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/AccountMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class AccountMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/BannerDataMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class BannerDataMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/CategoryMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class CategoryMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/InventoryMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class InventoryMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/ItemMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class ItemMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/LineItemMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class LineItemMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/OrderStatusMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class OrderStatusMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/OrdersMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class OrdersMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/ProductMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class ProductMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/ProfileMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class ProfileMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/SignOnMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class SignOnMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Mapping/SupplierMap.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Text; 5 | using Petshop.Data.Entities; 6 | 7 | namespace Petshop.Data.Mapping 8 | { 9 | public partial class SupplierMap 10 | { 11 | public void InitializeMapping() 12 | { 13 | 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/PetshopContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Data.Entity; 4 | using System.Data.Entity.Infrastructure; 5 | using Petshop.Data.Entities; 6 | using Petshop.Data.Mapping; 7 | 8 | namespace Petshop.Data 9 | { 10 | public partial class PetshopContext 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/AccountExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class AccountExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/BannerDataExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class BannerDataExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/CategoryExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class CategoryExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/InventoryExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class InventoryExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/ItemExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class ItemExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/LineItemExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class LineItemExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/OrderStatusExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class OrderStatusExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/OrdersExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class OrdersExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/ProductExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class ProductExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/ProfileExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class ProfileExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/SignOnExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class SignOnExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/Queries/SupplierExtensions.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Petshop.Data.Queries 6 | { 7 | public static partial class SupplierExtensions 8 | { 9 | // Place custom query extensions here. 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/Samples/Petshop.Data/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/SchemaMapper.Tests/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/SchemaMapper.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/SchemaMapper.vsmdi: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF-DbContext/Source/SchemaMapper/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/CSharp/Internal/Entity.Editable.cst: -------------------------------------------------------------------------------- 1 | <%-- Author: Blake Niemyjski --%> 2 | <%@ CodeTemplate Language="C#" TargetLanguage="C#" Debug="False" Inherits="EntityCodeTemplate" CompilerVersion="v3.5" Encoding="UTF-8" Description="EF Entity" %> 3 | 4 | <%@ Assembly Name="CodeSmith.SchemaHelper" Path="..\..\Common" %> 5 | <%@ Assembly Name="Generator.QuickStart" Path="..\..\Common" %> 6 | <%@ Assembly Name="Generator.Microsoft.Frameworks" Path="..\..\Common" %> 7 | 8 | <%@ Import Namespace="CodeSmith.SchemaHelper" %> 9 | <%@ Import Namespace="Generator.QuickStart" %> 10 | <%@ Import Namespace="Generator.Microsoft.Frameworks" %> 11 | namespace <%= EntityNamespace %> 12 | { 13 | partial class <%= Entity.Name %> 14 | { 15 | } 16 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/.nuget.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/.nuget.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/CodeSmith.Data.EntityFramework.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeSmith.Data.EntityFramework 5 | 6 | 7 | 8 | 9 | http://blog.longle.net/2012/04/13/teleriks-html5-kendo-ui-grid-with-server-side-paging-sorting-filtering-with-mvc3-ef4-dynamic-linq/ 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/CodeSmith.SchemaHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/CodeSmith.SchemaHelper.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/Generator.Microsoft.Frameworks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/Generator.Microsoft.Frameworks.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/Generator.QuickStart.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/Generator.QuickStart.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/Ionic.Zip.Reduced.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/Ionic.Zip.Reduced.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/KeywordRenameAlias.csmap: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Descn 6 | Description 7 | 8 | 9 | ID 10 | Identification 11 | 12 | 13 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/WebAPI.csp: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | $DataProjectDirectory$\$databaseName$.edmx 6 | .\ 7 | http://localhost:1867/api 8 | .\Controllers 9 | .\Scripts\Generated 10 | .\Views 11 | 12 | 13 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/Xml.Schema.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/Xml.Schema.Linq.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/EFWebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/EFWebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/WebAPIProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.0/CSharp/WebAPIProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CodeSmith.Data.EntityFramework.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CodeSmith.Data.EntityFramework 5 | 6 | 7 | 8 | 9 | http://blog.longle.net/2012/04/13/teleriks-html5-kendo-ui-grid-with-server-side-paging-sorting-filtering-with-mvc3-ef4-dynamic-linq/ 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CodeSmith.Data.EntityFramework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.0/CodeSmith.Data.EntityFramework.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.0/CodeSmith.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.0/CodeSmith.Data.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/EFWebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/EFWebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/WebAPIProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Common/v4.5/CSharp/WebAPIProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Readme.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=http://docs.codesmithtools.com/display/PLINQOEF/Home 3 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/.nuget/NuGet.Config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/.nuget/nuget.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Source/.nuget/nuget.exe -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Build/Build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | "..\.nuget\NuGet.exe" pack CodeSmith.Generator.EntityFramework.nuspec 3 | "..\.nuget\NuGet.exe" pack CodeSmith.Generator.EntityFramework.WebAPI.nuspec -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Build/WebAPI.csp: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | %EdmxFileName% 5 | .\ 6 | 7 | 8 | 9 | http://localhost:1867/api 10 | .\Controllers 11 | .\Scripts\Generated 12 | .\Views 13 | 14 | 15 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data.EntityFramework/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | [assembly: AssemblyTitle("CodeSmith.Data.EntityFramework")] 5 | [assembly: ComVisible(false)] 6 | [assembly: Guid("9ee5d7e5-bbd9-4f68-ae9e-b3003fc2ef29")] -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data.EntityFramework/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Attributes/NotNullAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using CodeSmith.Data.Rules; 6 | using CodeSmith.Data.Rules.Validation; 7 | 8 | namespace CodeSmith.Data.Attributes 9 | { 10 | public class NotNullAttribute : RuleAttributeBase 11 | { 12 | public NotNullAttribute() 13 | : this(EntityState.Dirty) 14 | { } 15 | 16 | public NotNullAttribute(EntityState state) 17 | { 18 | State = state; 19 | } 20 | 21 | public override bool IsValid(object value) 22 | { 23 | return value != null; 24 | } 25 | 26 | public override IRule CreateRule(string property) 27 | { 28 | return new NotNullRule(property); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Audit/AlwaysAuditAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// Indicates that a field in an audited class should always be included in the audit data even if it hasn't been changed. 7 | /// 8 | /// 9 | /// 10 | /// 11 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] 12 | public class AlwaysAuditAttribute : Attribute 13 | { } 14 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Audit/AuditAction.cs: -------------------------------------------------------------------------------- 1 | namespace CodeSmith.Data.Audit 2 | { 3 | /// 4 | /// A list of entity actions for the audit log. 5 | /// 6 | public enum AuditAction 7 | { 8 | /// 9 | /// The entity was inserted. 10 | /// 11 | Insert = 1, 12 | /// 13 | /// The entity was updated. 14 | /// 15 | Update = 2, 16 | /// 17 | /// The entity was deleted. 18 | /// 19 | Delete = 3 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Audit/AuditAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// Indicates that a class can be audited. 7 | /// 8 | /// 9 | /// Use the attribute to prevent a field from being included in the audit 10 | /// 11 | /// 12 | /// 13 | /// 14 | [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class, AllowMultiple = false)] 15 | public class AuditAttribute : Attribute 16 | { } 17 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Audit/AuditKeyCollection.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.ObjectModel; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// A keyed collection of 7 | /// 8 | public class AuditKeyCollection : KeyedCollection 9 | { 10 | /// 11 | /// When implemented in a derived class, extracts the key from the specified element. 12 | /// 13 | /// The element from which to extract the key. 14 | /// The key for the specified element. 15 | protected override string GetKeyForItem(AuditKey item) 16 | { 17 | return item.Name; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Audit/AuditPropertyCollection.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.ObjectModel; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// A keyed collection of 7 | /// 8 | public class AuditPropertyCollection : KeyedCollection 9 | { 10 | /// 11 | /// Extracts the key from the specified element. 12 | /// 13 | /// The element from which to extract the key. 14 | /// The key for the specified element. 15 | protected override string GetKeyForItem(AuditProperty item) 16 | { 17 | return item.Name; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Audit/NotAuditedAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// Indicates that a field in an audited class should not be included in the audit log. 7 | /// 8 | /// 9 | /// Use the NotAuditedAttribute attribute to prevent a field from being included in the audit. 10 | /// 11 | /// 12 | /// 13 | /// 14 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] 15 | public class NotAuditedAttribute : Attribute 16 | { } 17 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/CodeSmith.Data.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/CodeSmith.Data.snk -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/DataContext/IDataContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data 4 | { 5 | public interface IDataContext : IDisposable 6 | { 7 | string ConnectionString { get; } 8 | 9 | void Detach(params object[] enities); 10 | 11 | void SubmitChanges(); 12 | 13 | bool ObjectTrackingEnabled { get; set; } 14 | 15 | IDisposable BeginTransaction(); 16 | 17 | void CommitTransaction(); 18 | 19 | void RollbackTransaction(); 20 | 21 | bool HasOpenTransaction { get; } 22 | } 23 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/DataContext/IDataContextProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using CodeSmith.Data.Future; 3 | 4 | namespace CodeSmith.Data 5 | { 6 | public interface IDataContextProvider 7 | { 8 | IDataContext GetDataConext(IQueryable query); 9 | 10 | IFutureContext GetFutureContext(IQueryable query); 11 | } 12 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Future/IFutureContext.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using CodeSmith.Data.Caching; 4 | 5 | namespace CodeSmith.Data.Future 6 | { 7 | public interface IFutureContext 8 | { 9 | IEnumerable Future(IQueryable query, CacheSettings cacheSettings); 10 | 11 | IFutureValue FutureFirstOrDefault(IQueryable query, CacheSettings cacheSettings); 12 | 13 | IFutureValue FutureCount(IQueryable query, CacheSettings cacheSettings); 14 | 15 | IEnumerable FutureQueries { get; } 16 | 17 | void ExecuteFutureQueries(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Future/IFutureQuery.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | 4 | namespace CodeSmith.Data.Future 5 | { 6 | #if v40 7 | // http://blogs.msdn.com/b/csharpfaq/archive/2010/02/16/covariance-and-contravariance-faq.aspx 8 | public interface IFutureQuery : IFutureQuery, IEnumerable 9 | #else 10 | public interface IFutureQuery : IFutureQuery, IEnumerable 11 | #endif 12 | { 13 | } 14 | 15 | public interface IFutureQuery 16 | { 17 | bool IsLoaded { get; } 18 | 19 | IQueryable Query { get; } 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Future/IFutureValue.cs: -------------------------------------------------------------------------------- 1 | namespace CodeSmith.Data.Future 2 | { 3 | public interface IFutureValue : IFutureQuery 4 | { 5 | T Value { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Future/LoadedFutureValue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data.Future 7 | { 8 | public class LoadedFutureValue : IFutureValue 9 | { 10 | public LoadedFutureValue(T value, IQueryable query) 11 | { 12 | Value = value; 13 | Query = query; 14 | } 15 | 16 | public bool IsLoaded 17 | { 18 | get { return true; } 19 | } 20 | 21 | public IQueryable Query { get; private set; } 22 | 23 | public T Value { get; private set; } 24 | 25 | public void LoadValue(object o) 26 | { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/ILinqEntity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using CodeSmith.Data.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data 7 | { 8 | public interface ILinqEntity 9 | { 10 | void Detach(); 11 | bool IsAttached(); 12 | string ToEntityString(int indentLevel, string indentValue); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Linq/ComparisonOperator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data.Linq 7 | { 8 | public enum ComparisonOperator 9 | { 10 | Equals, 11 | NotEquals, 12 | GreaterThan, 13 | GreaterThanOrEquals, 14 | LessThan, 15 | LessThanOrEquals 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Linq/ContainmentOperator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data.Linq 7 | { 8 | public enum ContainmentOperator 9 | { 10 | Equals, 11 | NotEquals, 12 | Contains, 13 | StartsWith, 14 | EndsWith, 15 | NotContains 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Rules/EntityState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Rules 4 | { 5 | /// 6 | /// The state to the tracked entity 7 | /// 8 | [Flags] 9 | public enum EntityState 10 | { 11 | /// The entity is new. 12 | New = 0, 13 | /// The entity is changed. 14 | Changed = 1, 15 | /// The entity is deleted. 16 | Deleted = 2, 17 | /// The entity is new or changed. 18 | Dirty = New | Changed, 19 | /// All the entity states. 20 | All = New | Changed | Deleted 21 | } 22 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Rules/RuleCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using CodeSmith.Data.Collections; 4 | 5 | namespace CodeSmith.Data.Rules 6 | { 7 | /// 8 | /// A collection of rules. 9 | /// 10 | public class RuleCollection : ConcurrentDictionary 11 | { } 12 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/CodeSmith.Data/Serialization/JavaScriptSerializerExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Web.Script.Serialization; 2 | 3 | namespace CodeSmith.Data.Serialization 4 | { 5 | /// 6 | /// JavaScriptSerializer extension methods. 7 | /// 8 | public static class JavaScriptSerializerExtensions 9 | { 10 | /// 11 | /// Registers the byte array converter. 12 | /// 13 | /// The instance. 14 | public static void RegisterByteArrayConverter(this JavaScriptSerializer serializer) 15 | { 16 | serializer.RegisterConverters(new[] { new ByteArrayConverter() }); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks.suo -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/EntityFrameworkVersion.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Generator.Microsoft.Frameworks { 4 | public enum EntityFrameworkVersion : byte { 5 | /// 6 | /// Entity Framework 4 7 | /// 8 | v4 = 4, 9 | 10 | /// 11 | /// Entity Framework 5 12 | /// 13 | v5 = 5, 14 | 15 | /// 16 | /// Entity Framework 6 17 | /// 18 | v6 = 6, 19 | } 20 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/Generator.Microsoft.Frameworks.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ShowAllFiles 5 | 6 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/CollationFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class CollationFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/CommandText.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class CommandText 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), new RestrictionFacets(((RestrictionFlags) (32)), null, 0, 0, null, null, 0, null, null, 0, null, 0, XmlSchemaWhiteSpace.Preserve)); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/EDMSimpleType.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class EdmSimpleType 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), new RestrictionFacets(((RestrictionFlags) (16)), new object[] {"Binary", "Boolean", "Byte", "DateTime", "DateTimeOffset", "Time", "Decimal", "Double", "Single", "Guid", "Int16", "Int32", "Int64", "String", "SByte"}, 0, 0, null, null, 0, null, null, 0, null, 0, XmlSchemaWhiteSpace.Preserve)); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/IsFixedLengthFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class IsFixedLengthFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Boolean), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/IsUnicodeFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class IsUnicodeFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Boolean), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/ParameterMode.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class ParameterMode 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Token), new RestrictionFacets(((RestrictionFlags) (16)), new object[] {"In", "Out", "InOut"}, 0, 0, null, null, 0, null, null, 0, null, 0, XmlSchemaWhiteSpace.Collapse)); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/PrecisionFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class PrecisionFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.NonNegativeInteger), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/PropertyType.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class PropertyType 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new UnionSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.AnyAtomicType), null, new[] {EdmSimpleType.TypeDefinition, QualifiedName.TypeDefinition, new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Token), new RestrictionFacets(((RestrictionFlags) (8)), null, 0, 0, null, null, 0, null, null, 0, new[] {"[\\p{L}\\p{Nl}][\\p{L}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Pc}\\p{Cf}]{0,}(\\.[\\p{L}\\p{Nl}][\\p{L" + "}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Pc}\\p{Cf}]{0,}){0,}"}, 0, XmlSchemaWhiteSpace.Collapse))}); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/QualifiedName.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class QualifiedName 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), new RestrictionFacets(((RestrictionFlags) (8)), null, 0, 0, null, null, 0, null, null, 0, new[] {"[\\p{L}\\p{Nl}][\\p{L}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Pc}\\p{Cf}]{0,}(\\.[\\p{L}\\p{Nl}][\\p{L" + "}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Pc}\\p{Cf}]{0,}){0,}"}, 0, XmlSchemaWhiteSpace.Preserve)); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/ScaleFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class ScaleFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.NonNegativeInteger), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/SimpleIdentifier.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class SimpleIdentifier 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), new RestrictionFacets(((RestrictionFlags) (12)), null, 0, 0, null, null, 480, null, null, 0, new[] {"[\\p{L}\\p{Nl}][\\p{L}\\p{Nl}\\p{Nd}\\p{Mn}\\p{Mc}\\p{Pc}\\p{Cf}]{0,}"}, 0, XmlSchemaWhiteSpace.Preserve)); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Conceptual/UnwrappedFunctionType.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Conceptual 5 | { 6 | public static class UnwrappedFunctionType 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new UnionSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.AnyAtomicType), null, new[] {QualifiedName.TypeDefinition, new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Token), new RestrictionFacets(((RestrictionFlags) (8)), null, 0, 0, null, null, 0, null, null, 0, new[] {"[^ \\t]{1,}(\\.[^ \\t]{1,}){0,}"}, 0, XmlSchemaWhiteSpace.Collapse))}); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/CollationFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class CollationFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/CommandText.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class CommandText 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), new RestrictionFacets(((RestrictionFlags) (32)), null, 0, 0, null, null, 0, null, null, 0, null, 0, XmlSchemaWhiteSpace.Preserve)); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/IsFixedLengthFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class IsFixedLengthFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Boolean), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/IsUnicodeFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class IsUnicodeFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.Boolean), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/PrecisionFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class PrecisionFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.NonNegativeInteger), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/QualifiedName.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class QualifiedName 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/ScaleFacet.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class ScaleFacet 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.NonNegativeInteger), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/Generator.Microsoft.Frameworks/LinqToEdmx/Model/Storage/SimpleIdentifier.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Schema; 2 | using Xml.Schema.Linq; 3 | 4 | namespace LinqToEdmx.Model.Storage 5 | { 6 | public static class SimpleIdentifier 7 | { 8 | public static SimpleTypeValidator TypeDefinition = new AtomicSimpleTypeValidator(XmlSchemaType.GetBuiltInSimpleType(XmlTypeCode.String), null); 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-EF/Source/packages/repositories.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/CodeSmith.Data/CodeSmith.Data.NHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/CodeSmith.Data/CodeSmith.Data.NHibernate.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/CodeSmith.Data/CodeSmith.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/CodeSmith.Data/CodeSmith.Data.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/CodeSmith.SchemaHelper.NHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/CodeSmith.SchemaHelper.NHibernate.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/CodeSmith.SchemaHelper.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/CodeSmith.SchemaHelper.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/Generator.QuickStart.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/Generator.QuickStart.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/Ionic.Zip.Reduced.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/Ionic.Zip.Reduced.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/KeywordRenameAlias.csmap: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Descn 6 | Description 7 | 8 | 9 | ID 10 | Identification 11 | 12 | 13 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NHibernate/Antlr3.Runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NHibernate/Antlr3.Runtime.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NHibernate/Castle.Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NHibernate/Castle.Core.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NHibernate/Iesi.Collections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NHibernate/Iesi.Collections.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NHibernate/NHibernate.ByteCode.Castle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NHibernate/NHibernate.ByteCode.Castle.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NHibernate/NHibernate.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NHibernate/NHibernate.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NHibernate/Remotion.Linq.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NHibernate/Remotion.Linq.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NUnit/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NUnit/license.txt -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/NUnit/nunit.framework.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/NUnit/nunit.framework.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/v4.0/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/v4.0/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/v4.0/CSharp/MvcProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/v4.0/CSharp/MvcProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/v4.5/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/v4.5/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Common/v4.5/CSharp/MvcProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO-NH/Common/v4.5/CSharp/MvcProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Readme.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=http://docs.codesmithtools.com/display/NHibernate/Home 3 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate.Tests/SchemaHelperTests.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using CodeSmith.SchemaHelper; 3 | using CodeSmith.SchemaHelper.NHibernate; 4 | using NUnit.Framework; 5 | 6 | namespace Plinqo.NHibernate.Tests 7 | { 8 | [TestFixture] 9 | public class SchemaHelperTests 10 | { 11 | [Test] 12 | public void NHibernateProviderTest() 13 | { 14 | var provider = new NHibernateProvider(@"A:\CodeSmith\CodeSmith.googlecode.framework.samples\PLINQO-NH\CSharp\Tracker\Data\Maps\"); 15 | 16 | var manager = new EntityManager(provider); 17 | 18 | Assert.Greater(manager.Entities.Count(), 0); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate/DataContext/INHibernateDataContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using NHibernate; 3 | 4 | namespace CodeSmith.Data.NHibernate 5 | { 6 | public interface INHibernateDataContext : IDataContext 7 | { 8 | bool IsOpen { get; } 9 | 10 | INHibernateDataContextAdvanced Advanced { get; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate/DataContext/INHibernateDataContextAdvanced.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using CodeSmith.Data.Future; 4 | using NHibernate; 5 | 6 | namespace CodeSmith.Data.NHibernate 7 | { 8 | public interface INHibernateDataContextAdvanced : IDisposable 9 | { 10 | bool HasSession { get; } 11 | 12 | ISession Session { get; } 13 | 14 | bool HasStatelessSession { get; } 15 | 16 | IStatelessSession StatelessSession { get; } 17 | 18 | bool HasDefaultSession { get; } 19 | 20 | IStateSession DefaultSession { get; } 21 | 22 | IList FutureQueries { get; } 23 | 24 | void ExecuteFutureQueries(); 25 | } 26 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate/Entities/ITable.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | 4 | namespace CodeSmith.Data.NHibernate 5 | { 6 | public interface ITable : IQueryable 7 | where T : class 8 | { 9 | INHibernateDataContext DataContext { get; } 10 | 11 | void InsertOnSubmit(T entity); 12 | 13 | void InsertAllOnSubmit(IEnumerable entities); 14 | 15 | void DeleteOnSubmit(T entity); 16 | 17 | void DeleteAllOnSubmit(IEnumerable entities); 18 | 19 | void Attach(T entity); 20 | 21 | void AttachAll(IEnumerable entities); 22 | 23 | void Detach(T entity); 24 | 25 | void DetachAll(IEnumerable entities); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate/Entities/IView.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | 3 | namespace CodeSmith.Data.NHibernate 4 | { 5 | public interface IView : IQueryable 6 | where T : class 7 | { 8 | NHibernateDataContext DataContext { get; } 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate/Future/INHibernateFutureQuery.cs: -------------------------------------------------------------------------------- 1 | namespace CodeSmith.Data.NHibernate 2 | { 3 | public interface INHibernateFutureQuery 4 | { 5 | bool IsLoaded { get; set; } 6 | 7 | void Load(); 8 | } 9 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.Data.NHibernate/Session/IStateSession.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using NHibernate; 3 | 4 | namespace CodeSmith.Data.NHibernate 5 | { 6 | public interface IStateSession : IStateSession 7 | { 8 | T Session { get; } 9 | } 10 | 11 | public interface IStateSession : IDisposable 12 | { 13 | void Save(object o); 14 | 15 | void Delete(object o); 16 | 17 | IQuery GetNamedQuery(string queryName); 18 | 19 | ITransaction BeginTransaction(); 20 | 21 | void CommitTransaction(); 22 | 23 | void RollbackTransaction(); 24 | 25 | ITransaction Transaction { get; } 26 | 27 | bool HasOpenTransaction { get; } 28 | 29 | bool IsOpen { get; } 30 | } 31 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO-NH/Source/CodeSmith.SchemaHelper.NHibernate/NHibernateAssociationProperty.cs: -------------------------------------------------------------------------------- 1 | using System.Xml.Linq; 2 | 3 | namespace CodeSmith.SchemaHelper.NHibernate 4 | { 5 | public class NHibernateAssociationProperty : PropertyBase 6 | { 7 | private string _safeName; 8 | 9 | public NHibernateAssociationProperty(XElement property, IEntity entity) 10 | : base(property, entity) {} 11 | 12 | public override void Initialize() { 13 | KeyName = Name = _safeName = PropertySource.Attribute("name").Value; 14 | } 15 | 16 | public override string GetSafeName() 17 | { 18 | return _safeName; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/CodeSmith.CodeParser.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/CodeSmith.CodeParser.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/CodeSmith.Data.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/CodeSmith.Data.chm -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/CodeSmith.InsertClassMergeStrategy.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/CodeSmith.InsertClassMergeStrategy.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/Dbml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/Dbml.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/DbmlSchema.xsd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/DbmlSchema.xsd -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/Enyim.Caching.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/Enyim.Caching.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/Generator.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/Generator.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/ICSharpCode.NRefactory.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/ICSharpCode.NRefactory.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/Ionic.Zip.Reduced.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/Ionic.Zip.Reduced.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/QuickStartUtils.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/QuickStartUtils.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/memcached.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/memcached.exe -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CSharp/DataServiceApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CSharp/DataServiceApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CSharp/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CSharp/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CSharp/TestProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CSharp/TestProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CSharp/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CSharp/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CSharp/WebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CSharp/WebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CodeSmith.Data.LinqToSql.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CodeSmith.Data.LinqToSql.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CodeSmith.Data.Memcached.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CodeSmith.Data.Memcached.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/CodeSmith.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/CodeSmith.Data.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/DataServiceApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/DataServiceApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/TestProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/TestProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/WebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v3.5/VisualBasic/WebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CSharp/DataServiceApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CSharp/DataServiceApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CSharp/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CSharp/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CSharp/TestProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CSharp/TestProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CSharp/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CSharp/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CSharp/WebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CSharp/WebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CodeSmith.Data.LinqToSql.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CodeSmith.Data.LinqToSql.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CodeSmith.Data.Memcached.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CodeSmith.Data.Memcached.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/CodeSmith.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/CodeSmith.Data.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/DataServiceApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/DataServiceApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/TestProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/TestProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/WebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.0/VisualBasic/WebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CSharp/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CSharp/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CSharp/DataServiceApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CSharp/DataServiceApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CSharp/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CSharp/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CSharp/TestProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CSharp/TestProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CSharp/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CSharp/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CSharp/WebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CSharp/WebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CodeSmith.Data.LinqToSql.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CodeSmith.Data.LinqToSql.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CodeSmith.Data.Memcached.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CodeSmith.Data.Memcached.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/CodeSmith.Data.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/CodeSmith.Data.dll -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/DataProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/DataProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/DataServiceApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/DataServiceApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/DataServiceWebsite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/DataServiceWebsite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/TestProject.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/TestProject.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/WebApplication.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/WebApplication.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/WebSite.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Common/v4.5/VisualBasic/WebSite.zip -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Readme.url: -------------------------------------------------------------------------------- 1 | [InternetShortcut] 2 | URL=http://docs.codesmithtools.com/display/PLINQO/Home 3 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data.LinqToSql/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("CodeSmith.Data.LinqToSql")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyTrademark("")] 8 | [assembly: AssemblyCulture("")] 9 | [assembly: ComVisible(false)] 10 | [assembly: Guid("83f56baf-d56e-438e-ba89-27ce758ee126")] 11 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data.Memcached/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | [assembly: AssemblyTitle("CodeSmith.Data.Memcached")] 5 | [assembly: AssemblyDescription("")] 6 | [assembly: AssemblyTrademark("")] 7 | [assembly: AssemblyCulture("")] 8 | [assembly: ComVisible(false)] 9 | [assembly: Guid("fa4c1561-f2d5-4f31-9f3f-0f85f7b35dfa")] -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Attributes/NotNullAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using CodeSmith.Data.Rules; 6 | using CodeSmith.Data.Rules.Validation; 7 | 8 | namespace CodeSmith.Data.Attributes 9 | { 10 | public class NotNullAttribute : RuleAttributeBase 11 | { 12 | public NotNullAttribute() 13 | : this(EntityState.Dirty) 14 | { } 15 | 16 | public NotNullAttribute(EntityState state) 17 | { 18 | State = state; 19 | } 20 | 21 | public override bool IsValid(object value) 22 | { 23 | return value != null; 24 | } 25 | 26 | public override IRule CreateRule(string property) 27 | { 28 | return new NotNullRule(property); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Audit/AlwaysAuditAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// Indicates that a field in an audited class should always be included in the audit data even if it hasn't been changed. 7 | /// 8 | /// 9 | /// 10 | /// 11 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] 12 | public class AlwaysAuditAttribute : Attribute 13 | { } 14 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Audit/AuditAction.cs: -------------------------------------------------------------------------------- 1 | namespace CodeSmith.Data.Audit 2 | { 3 | /// 4 | /// A list of entity actions for the audit log. 5 | /// 6 | public enum AuditAction 7 | { 8 | /// 9 | /// The entity was inserted. 10 | /// 11 | Insert = 1, 12 | /// 13 | /// The entity was updated. 14 | /// 15 | Update = 2, 16 | /// 17 | /// The entity was deleted. 18 | /// 19 | Delete = 3 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Audit/AuditAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// Indicates that a class can be audited. 7 | /// 8 | /// 9 | /// Use the attribute to prevent a field from being included in the audit 10 | /// 11 | /// 12 | /// 13 | /// 14 | [AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class, AllowMultiple = false)] 15 | public class AuditAttribute : Attribute 16 | { } 17 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Audit/AuditKeyCollection.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.ObjectModel; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// A keyed collection of 7 | /// 8 | public class AuditKeyCollection : KeyedCollection 9 | { 10 | /// 11 | /// When implemented in a derived class, extracts the key from the specified element. 12 | /// 13 | /// The element from which to extract the key. 14 | /// The key for the specified element. 15 | protected override string GetKeyForItem(AuditKey item) 16 | { 17 | return item.Name; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Audit/AuditPropertyCollection.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.ObjectModel; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// A keyed collection of 7 | /// 8 | public class AuditPropertyCollection : KeyedCollection 9 | { 10 | /// 11 | /// Extracts the key from the specified element. 12 | /// 13 | /// The element from which to extract the key. 14 | /// The key for the specified element. 15 | protected override string GetKeyForItem(AuditProperty item) 16 | { 17 | return item.Name; 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Audit/NotAuditedAttribute.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Audit 4 | { 5 | /// 6 | /// Indicates that a field in an audited class should not be included in the audit log. 7 | /// 8 | /// 9 | /// Use the NotAuditedAttribute attribute to prevent a field from being included in the audit. 10 | /// 11 | /// 12 | /// 13 | /// 14 | [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)] 15 | public class NotAuditedAttribute : Attribute 16 | { } 17 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/CodeSmith.Data.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codesmithtools/Templates/dbef6a707e3010a4ce56fc0d423929a92871b232/Templates/Frameworks/PLINQO/Source/CodeSmith.Data/CodeSmith.Data.snk -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/DataContext/IDataContext.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data 4 | { 5 | public interface IDataContext : IDisposable 6 | { 7 | string ConnectionString { get; } 8 | 9 | void Detach(params object[] enities); 10 | 11 | void SubmitChanges(); 12 | 13 | bool ObjectTrackingEnabled { get; set; } 14 | 15 | IDisposable BeginTransaction(); 16 | 17 | void CommitTransaction(); 18 | 19 | void RollbackTransaction(); 20 | 21 | bool HasOpenTransaction { get; } 22 | } 23 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/DataContext/IDataContextProvider.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using CodeSmith.Data.Future; 3 | 4 | namespace CodeSmith.Data 5 | { 6 | public interface IDataContextProvider 7 | { 8 | IDataContext GetDataConext(IQueryable query); 9 | 10 | IFutureContext GetFutureContext(IQueryable query); 11 | } 12 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Future/IFutureContext.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | using CodeSmith.Data.Caching; 4 | 5 | namespace CodeSmith.Data.Future 6 | { 7 | public interface IFutureContext 8 | { 9 | IEnumerable Future(IQueryable query, CacheSettings cacheSettings); 10 | 11 | IFutureValue FutureFirstOrDefault(IQueryable query, CacheSettings cacheSettings); 12 | 13 | IFutureValue FutureCount(IQueryable query, CacheSettings cacheSettings); 14 | 15 | IEnumerable FutureQueries { get; } 16 | 17 | void ExecuteFutureQueries(); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Future/IFutureQuery.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using System.Linq; 3 | 4 | namespace CodeSmith.Data.Future 5 | { 6 | #if v40 7 | // http://blogs.msdn.com/b/csharpfaq/archive/2010/02/16/covariance-and-contravariance-faq.aspx 8 | public interface IFutureQuery : IFutureQuery, IEnumerable 9 | #else 10 | public interface IFutureQuery : IFutureQuery, IEnumerable 11 | #endif 12 | { 13 | } 14 | 15 | public interface IFutureQuery 16 | { 17 | bool IsLoaded { get; } 18 | 19 | IQueryable Query { get; } 20 | } 21 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Future/IFutureValue.cs: -------------------------------------------------------------------------------- 1 | namespace CodeSmith.Data.Future 2 | { 3 | public interface IFutureValue : IFutureQuery 4 | { 5 | T Value { get; } 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Future/LoadedFutureValue.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data.Future 7 | { 8 | public class LoadedFutureValue : IFutureValue 9 | { 10 | public LoadedFutureValue(T value, IQueryable query) 11 | { 12 | Value = value; 13 | Query = query; 14 | } 15 | 16 | public bool IsLoaded 17 | { 18 | get { return true; } 19 | } 20 | 21 | public IQueryable Query { get; private set; } 22 | 23 | public T Value { get; private set; } 24 | 25 | public void LoadValue(object o) 26 | { 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/ILinqEntity.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using CodeSmith.Data.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data 7 | { 8 | public interface ILinqEntity 9 | { 10 | void Detach(); 11 | bool IsAttached(); 12 | string ToEntityString(int indentLevel, string indentValue); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Linq/ComparisonOperator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data.Linq 7 | { 8 | public enum ComparisonOperator 9 | { 10 | Equals, 11 | NotEquals, 12 | GreaterThan, 13 | GreaterThanOrEquals, 14 | LessThan, 15 | LessThanOrEquals 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Linq/ContainmentOperator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace CodeSmith.Data.Linq 7 | { 8 | public enum ContainmentOperator 9 | { 10 | Equals, 11 | NotEquals, 12 | Contains, 13 | StartsWith, 14 | EndsWith, 15 | NotContains 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Rules/EntityState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace CodeSmith.Data.Rules 4 | { 5 | /// 6 | /// The state to the tracked entity 7 | /// 8 | [Flags] 9 | public enum EntityState 10 | { 11 | /// The entity is new. 12 | New = 0, 13 | /// The entity is changed. 14 | Changed = 1, 15 | /// The entity is deleted. 16 | Deleted = 2, 17 | /// The entity is new or changed. 18 | Dirty = New | Changed, 19 | /// All the entity states. 20 | All = New | Changed | Deleted 21 | } 22 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Rules/RuleCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using CodeSmith.Data.Collections; 4 | 5 | namespace CodeSmith.Data.Rules 6 | { 7 | /// 8 | /// A collection of rules. 9 | /// 10 | public class RuleCollection : ConcurrentDictionary 11 | { } 12 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/CodeSmith.Data/Serialization/JavaScriptSerializerExtensions.cs: -------------------------------------------------------------------------------- 1 | using System.Web.Script.Serialization; 2 | 3 | namespace CodeSmith.Data.Serialization 4 | { 5 | /// 6 | /// JavaScriptSerializer extension methods. 7 | /// 8 | public static class JavaScriptSerializerExtensions 9 | { 10 | /// 11 | /// Registers the byte array converter. 12 | /// 13 | /// The instance. 14 | public static void RegisterByteArrayConverter(this JavaScriptSerializer serializer) 15 | { 16 | serializer.RegisterConverters(new[] { new ByteArrayConverter() }); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/AccessModifier.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum AccessModifier 4 | { 5 | Public, 6 | Internal, 7 | Protected, 8 | ProtectedInternal, 9 | Private 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/AssociationCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace LinqToSqlShared.DbmlObjectModel 5 | { 6 | [Serializable] 7 | public class AssociationCollection : KeyedCollection, IProcessed 8 | { 9 | protected override AssociationKey GetKeyForItem(Association item) 10 | { 11 | return item.ToKey(); 12 | } 13 | 14 | public bool IsProcessed { get; set; } 15 | } 16 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/AutoSync.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum AutoSync 4 | { 5 | Default, 6 | Always, 7 | Never, 8 | OnInsert, 9 | OnUpdate 10 | } 11 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/Cardinality.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum Cardinality 4 | { 5 | One, 6 | Many 7 | } 8 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/ClassModifier.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum ClassModifier 4 | { 5 | Sealed, 6 | Abstract 7 | } 8 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/ColumnCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace LinqToSqlShared.DbmlObjectModel 5 | { 6 | [Serializable] 7 | public class ColumnCollection : KeyedCollection, IProcessed 8 | { 9 | protected override string GetKeyForItem(Column item) 10 | { 11 | return item.Name; 12 | } 13 | 14 | public bool IsProcessed { get; set; } 15 | 16 | } 17 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/ConnectionMode.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum ConnectionMode 4 | { 5 | ConnectionString, 6 | AppSettings, 7 | WebSettings 8 | } 9 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/FunctionCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace LinqToSqlShared.DbmlObjectModel 5 | { 6 | [Serializable] 7 | public class FunctionCollection : KeyedCollection 8 | { 9 | protected override string GetKeyForItem(Function item) 10 | { 11 | return item.Name; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/IProcessed.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public interface IProcessed 4 | { 5 | bool IsProcessed { get; set; } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/MemberModifier.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum MemberModifier 4 | { 5 | Virtual, 6 | Override, 7 | New, 8 | NewVirtual 9 | } 10 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/Node.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public abstract class Node : IProcessed 4 | { 5 | protected static string KeyValue(string key, T value) 6 | { 7 | return !Equals(value, default(T)) ? key + "=" + value + " " : string.Empty; 8 | } 9 | 10 | protected static string SingleValue(T value) 11 | { 12 | return !Equals(value, default(T)) ? value + " " : string.Empty; 13 | } 14 | 15 | public bool IsProcessed { get; set; } 16 | 17 | } 18 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/ParameterCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace LinqToSqlShared.DbmlObjectModel 5 | { 6 | [Serializable] 7 | public class ParameterCollection : KeyedCollection 8 | { 9 | protected override string GetKeyForItem(Parameter item) 10 | { 11 | return item.Name; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/ParameterDirection.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum ParameterDirection 4 | { 5 | In, 6 | Out, 7 | InOut 8 | } 9 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.InteropServices; 3 | 4 | // General Information about an assembly is controlled through the following 5 | // set of attributes. Change these attribute values to modify the information 6 | // associated with an assembly. 7 | 8 | [assembly: AssemblyTitle("Dbml")] 9 | [assembly: AssemblyDescription("Dbml Object Model")] 10 | [assembly: AssemblyTrademark("")] 11 | [assembly: AssemblyCulture("")] 12 | [assembly: ComVisible(false)] 13 | [assembly: Guid("cdc045fd-b768-4e9c-b731-39fdce3ed50b")] -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/Return.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public class Return : Node 4 | { 5 | private string type; 6 | 7 | public Return(string type) 8 | { 9 | if (type == null) 10 | { 11 | throw Error.SchemaRequirementViolation("Return", "Type"); 12 | } 13 | this.type = type; 14 | } 15 | 16 | public string DbType { get; set; } 17 | 18 | public string Type 19 | { 20 | get { return type; } 21 | set 22 | { 23 | if (value == null) 24 | { 25 | throw Error.SchemaRequirementViolation("Return", "Type"); 26 | } 27 | type = value; 28 | } 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/SerializationMode.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum SerializationMode 4 | { 5 | None, 6 | Unidirectional 7 | } 8 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/TableCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Collections.ObjectModel; 4 | 5 | namespace LinqToSqlShared.DbmlObjectModel 6 | { 7 | [Serializable] 8 | public class TableCollection : KeyedCollection 9 | { 10 | protected override string GetKeyForItem(Table item) 11 | { 12 | return item.Name; 13 | } 14 | 15 | public void Sort() 16 | { 17 | List tables = new List
(base.Items); 18 | tables.Sort(delegate(Table x, Table y) { return x.Name.CompareTo(y.Name); }); 19 | base.Clear(); 20 | foreach (Table t in tables) 21 | base.Add(t); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/TableFunction.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace LinqToSqlShared.DbmlObjectModel 4 | { 5 | public class TableFunction : Node 6 | { 7 | private readonly TableFunctionParameterCollection arguments = new TableFunctionParameterCollection(); 8 | 9 | public AccessModifier? AccessModifier { get; set; } 10 | 11 | public TableFunctionParameterCollection Arguments 12 | { 13 | get { return arguments; } 14 | } 15 | 16 | public Function MappedFunction { get; set; } 17 | 18 | public TableFunctionReturn Return { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/TableFunctionParameterCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | using System.Text; 4 | 5 | namespace LinqToSqlShared.DbmlObjectModel 6 | { 7 | [Serializable] 8 | public class TableFunctionParameterCollection : KeyedCollection 9 | { 10 | protected override string GetKeyForItem(TableFunctionParameter item) 11 | { 12 | return item.ParameterName; 13 | } 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/TableFunctionReturn.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public class TableFunctionReturn : Node 4 | { 5 | public string Member { get; set; } 6 | } 7 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/TypeCollection.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.ObjectModel; 3 | 4 | namespace LinqToSqlShared.DbmlObjectModel 5 | { 6 | [Serializable] 7 | public class TypeCollection : KeyedCollection 8 | { 9 | protected override string GetKeyForItem(Type item) 10 | { 11 | return item.Name; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/UpdateCheck.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum UpdateCheck 4 | { 5 | Always, 6 | Never, 7 | WhenChanged 8 | } 9 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Dbml/Version.cs: -------------------------------------------------------------------------------- 1 | namespace LinqToSqlShared.DbmlObjectModel 2 | { 3 | public enum Version 4 | { 5 | Current, 6 | Original 7 | } 8 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Generator/Enums.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LinqToSqlShared.Generator 4 | { 5 | public enum FrameworkEnum 6 | { 7 | v35 = 1, 8 | v35_SP1 = 2, 9 | v40 = 3, 10 | v45 = 4 11 | } 12 | 13 | public enum TableNamingEnum 14 | { 15 | Mixed = 0, 16 | Plural = 1, 17 | Singular = 2 18 | } 19 | 20 | public enum EntityNamingEnum 21 | { 22 | Preserve = 0, 23 | Plural = 1, 24 | Singular = 2 25 | } 26 | 27 | public enum AssociationNamingEnum 28 | { 29 | None = 0, 30 | Plural = 1, 31 | ListSuffix = 2 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Generator/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | [assembly: AssemblyTitle("Generator")] 6 | [assembly: AssemblyDescription("")] 7 | [assembly: AssemblyTrademark("")] 8 | [assembly: AssemblyCulture("")] 9 | [assembly: ComVisible(false)] 10 | [assembly: Guid("12fc3eb0-1a89-486f-bb48-662469c05674")] 11 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/Generator/SchemaItemProcessedEventArgs.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace LinqToSqlShared.Generator 4 | { 5 | [Serializable] 6 | public class SchemaItemProcessedEventArgs : EventArgs 7 | { 8 | public SchemaItemProcessedEventArgs(string name) 9 | { 10 | _name = name; 11 | } 12 | 13 | private string _name; 14 | 15 | public string Name 16 | { 17 | get { return _name; } 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/QuickStart/Enums.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace QuickStartUtils { 7 | public enum LanguageEnum { 8 | CSharp = 1, 9 | VB = 2 10 | } 11 | 12 | public enum ProjectTypeEnum { 13 | None = 0, 14 | DynamicDataWebApp = 1, 15 | DynamicDataWebSite = 2 16 | } 17 | 18 | public enum SkinEnum { 19 | Default 20 | } 21 | 22 | public enum QueryPatternEnum { 23 | ManagerClasses, 24 | QueryExtensions 25 | } 26 | 27 | public enum FrameworkVersion { 28 | v35, 29 | v40, 30 | v45 31 | } 32 | } -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/QuickStart/PathHelper.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.IO; 4 | 5 | namespace QuickStartUtils 6 | { 7 | public static class PathHelper 8 | { 9 | public static IEnumerable GetFiles(string directory, SearchOption searchOption, params string[] searchPatterns) 10 | { 11 | var files = new HashSet(StringComparer.OrdinalIgnoreCase); 12 | foreach (var pattern in searchPatterns) 13 | files.UnionWith(Directory.GetFiles(directory, pattern, SearchOption.AllDirectories)); 14 | 15 | return files; 16 | } 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Templates/Frameworks/PLINQO/Source/QuickStart/TestProjectCreator.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace QuickStartUtils 7 | { 8 | public class TestProjectCreator : ProjectCreator 9 | { 10 | public TestProjectCreator(ProjectBuilderSettings projectBuilder) 11 | : base(projectBuilder) { } 12 | 13 | public override string ProjectTemplateFile 14 | { 15 | get { return "TestProject.zip"; } 16 | } 17 | 18 | protected override void AddFiles() 19 | { } 20 | } 21 | } 22 | --------------------------------------------------------------------------------