subsonic 3.0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. data/lib/LICENSE.txt +41 -0
  2. data/lib/SubSonic.Core.dll +0 -0
  3. data/lib/T4 Templates/ActiveRecord/ActiveRecord.tt +620 -0
  4. data/lib/T4 Templates/ActiveRecord/Context.tt +295 -0
  5. data/lib/T4 Templates/ActiveRecord/SQLServer.ttinclude +347 -0
  6. data/lib/T4 Templates/ActiveRecord/Settings.ttinclude +552 -0
  7. data/lib/T4 Templates/ActiveRecord/StoredProcedures.tt +30 -0
  8. data/lib/T4 Templates/ActiveRecord/Structs.tt +67 -0
  9. data/lib/T4 Templates/LinqTemplates/Classes.tt +117 -0
  10. data/lib/T4 Templates/LinqTemplates/Context.tt +276 -0
  11. data/lib/T4 Templates/LinqTemplates/SQLServer.ttinclude +349 -0
  12. data/lib/T4 Templates/LinqTemplates/Settings.ttinclude +551 -0
  13. data/lib/T4 Templates/LinqTemplates/StoredProcedures.tt +30 -0
  14. data/lib/T4 Templates/LinqTemplates/Structs.tt +67 -0
  15. data/lib/T4 Templates/README.txt +7 -0
  16. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/ActiveRecord.tt +560 -0
  17. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/ActiveRecord.vb +6447 -0
  18. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/Context.tt +258 -0
  19. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/Context.vb +349 -0
  20. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/SQLServer.ttinclude +332 -0
  21. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/Settings.ttinclude +550 -0
  22. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/StoredProcedures.tt +30 -0
  23. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/StoredProcedures.vb +55 -0
  24. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/Structs.tt +57 -0
  25. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/Structs.vb +1478 -0
  26. data/lib/T4 Templates/SubSonic.TemplatesVB/ActiveRecord/Tests/FetchTests.vb +52 -0
  27. data/lib/T4 Templates/SubSonic.TemplatesVB/App.config +9 -0
  28. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/Application.Designer.vb +13 -0
  29. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/Application.myapp +10 -0
  30. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/AssemblyInfo.vb +35 -0
  31. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/Resources.Designer.vb +63 -0
  32. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/Resources.resx +117 -0
  33. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/Settings.Designer.vb +73 -0
  34. data/lib/T4 Templates/SubSonic.TemplatesVB/My Project/Settings.settings +7 -0
  35. data/lib/T4 Templates/SubSonic.TemplatesVB/SubSonic.TemplatesVB.vbproj +171 -0
  36. data/lib/T4 Templates/SubSonic.TemplatesVB/SubSonic.TemplatesVB.vbproj.user +5 -0
  37. data/lib/T4 Templates/TemplateProviders/MySQL.ttinclude +278 -0
  38. data/lib/T4 Templates/TemplateProviders/MySQL.ttinclude.orig +303 -0
  39. data/lib/T4 Templates/TemplateProviders/MySQLTest.tt +27 -0
  40. data/lib/T4 Templates/TemplateProviders/SQLite.ttinclude +194 -0
  41. data/lib/T4 Templates/TemplateProviders/SQLite.ttinclude.orig +236 -0
  42. data/lib/T4 Templates/TemplateProviders/SQLiteTest.tt +27 -0
  43. data/lib/T4 Templates/TemplateProviders/Settings.ttinclude +551 -0
  44. metadata +112 -0
@@ -0,0 +1,52 @@
1
+ ''
2
+ '' SubSonic - http://subsonicproject.com
3
+ ''
4
+ '' The contents of this file are subject to the New BSD
5
+ '' License (the "License"); you may not use this file
6
+ '' except in compliance with the License. You may obtain a copy of
7
+ '' the License at http://www.opensource.org/licenses/bsd-license.php
8
+ ''
9
+ '' Software distributed under the License is distributed on an
10
+ '' "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11
+ '' implied. See the License for the specific language governing
12
+ '' rights and limitations under the License.
13
+ ''
14
+ Imports System.Linq
15
+ Imports Southwind
16
+ Imports Xunit
17
+
18
+ Namespace SubSonic.Tests.ActiveRecord
19
+
20
+ Public Class FetchTests
21
+ <Fact()> _
22
+ Public Sub ActiveRecord_Should_Load_Single_Product1_Through_Factory()
23
+ Dim productItem = Product.SingleOrDefault(Function(x) x.ProductID = 1)
24
+ Assert.Equal(1, productItem.ProductID)
25
+ End Sub
26
+
27
+ <Fact()> _
28
+ Public Sub ActiveRecord_Should_Return_10_Products_LessOrEqual_To_10()
29
+ Dim products = Product.Find(Function(x) x.ProductID <= 10)
30
+ Assert.Equal(10, products.Count)
31
+ End Sub
32
+
33
+ <Fact()> _
34
+ Public Sub ActiveRecord_Should_Return_10_Products_Paged()
35
+ Dim products = Product.GetPaged(1, 10)
36
+ Assert.Equal(10, products.Count)
37
+ Assert.Equal(77, products.TotalCount)
38
+ End Sub
39
+
40
+ <Fact()> _
41
+ Public Sub ActiveRecord_Should_Return_20_Products_Using_SkipTake()
42
+
43
+ Dim products = From p In Product.All() _
44
+ Join od In OrderDetail.All() On p.ProductID Equals od.ProductID _
45
+ Select p
46
+
47
+ Assert.Equal(2155, products.Count())
48
+ End Sub
49
+
50
+ End Class
51
+
52
+ End Namespace
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <configuration>
3
+ <connectionStrings>
4
+ <!-- SQL Server -->
5
+ <add name="Northwind" providerName="System.Data.SqlClient" connectionString="server=.;Integrated Security=true;database=Northwind;"/>
6
+ <!-- MySql -->
7
+ <add name="NorthwindMySql" providerName="MySql.Data.MySqlClient" connectionString="server=localhost;user id=root;pwd=;database=Northwind;"/>
8
+ </connectionStrings>
9
+ </configuration>
@@ -0,0 +1,13 @@
1
+ '------------------------------------------------------------------------------
2
+ ' <auto-generated>
3
+ ' This code was generated by a tool.
4
+ ' Runtime Version:2.0.50727.4918
5
+ '
6
+ ' Changes to this file may cause incorrect behavior and will be lost if
7
+ ' the code is regenerated.
8
+ ' </auto-generated>
9
+ '------------------------------------------------------------------------------
10
+
11
+ Option Strict On
12
+ Option Explicit On
13
+
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <MySubMain>false</MySubMain>
4
+ <SingleInstance>false</SingleInstance>
5
+ <ShutdownMode>0</ShutdownMode>
6
+ <EnableVisualStyles>true</EnableVisualStyles>
7
+ <AuthenticationMode>0</AuthenticationMode>
8
+ <ApplicationType>1</ApplicationType>
9
+ <SaveMySettingsOnExit>true</SaveMySettingsOnExit>
10
+ </MyApplicationData>
@@ -0,0 +1,35 @@
1
+ Imports System
2
+ Imports System.Reflection
3
+ Imports System.Runtime.InteropServices
4
+
5
+ ' General Information about an assembly is controlled through the following
6
+ ' set of attributes. Change these attribute values to modify the information
7
+ ' associated with an assembly.
8
+
9
+ ' Review the values of the assembly attributes
10
+
11
+ <Assembly: AssemblyTitle("SubSonic.TemplatesVB")>
12
+ <Assembly: AssemblyDescription("")>
13
+ <Assembly: AssemblyCompany("Microsoft")>
14
+ <Assembly: AssemblyProduct("SubSonic.TemplatesVB")>
15
+ <Assembly: AssemblyCopyright("Copyright © Microsoft 2009")>
16
+ <Assembly: AssemblyTrademark("")>
17
+
18
+ <Assembly: ComVisible(False)>
19
+
20
+ 'The following GUID is for the ID of the typelib if this project is exposed to COM
21
+ <Assembly: Guid("f4b22d8e-bf19-4dd1-a517-6a5469441bec")>
22
+
23
+ ' Version information for an assembly consists of the following four values:
24
+ '
25
+ ' Major Version
26
+ ' Minor Version
27
+ ' Build Number
28
+ ' Revision
29
+ '
30
+ ' You can specify all the values or you can default the Build and Revision Numbers
31
+ ' by using the '*' as shown below:
32
+ ' <Assembly: AssemblyVersion("1.0.*")>
33
+
34
+ <Assembly: AssemblyVersion("1.0.0.0")>
35
+ <Assembly: AssemblyFileVersion("1.0.0.0")>
@@ -0,0 +1,63 @@
1
+ '------------------------------------------------------------------------------
2
+ ' <auto-generated>
3
+ ' This code was generated by a tool.
4
+ ' Runtime Version:2.0.50727.4918
5
+ '
6
+ ' Changes to this file may cause incorrect behavior and will be lost if
7
+ ' the code is regenerated.
8
+ ' </auto-generated>
9
+ '------------------------------------------------------------------------------
10
+
11
+ Option Strict On
12
+ Option Explicit On
13
+
14
+ Imports System
15
+
16
+ Namespace My.Resources
17
+
18
+ 'This class was auto-generated by the StronglyTypedResourceBuilder
19
+ 'class via a tool like ResGen or Visual Studio.
20
+ 'To add or remove a member, edit your .ResX file then rerun ResGen
21
+ 'with the /str option, or rebuild your VS project.
22
+ '''<summary>
23
+ ''' A strongly-typed resource class, for looking up localized strings, etc.
24
+ '''</summary>
25
+ <Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0"), _
26
+ Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
27
+ Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
28
+ Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
29
+ Friend Module Resources
30
+
31
+ Private resourceMan As Global.System.Resources.ResourceManager
32
+
33
+ Private resourceCulture As Global.System.Globalization.CultureInfo
34
+
35
+ '''<summary>
36
+ ''' Returns the cached ResourceManager instance used by this class.
37
+ '''</summary>
38
+ <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
39
+ Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
40
+ Get
41
+ If Object.ReferenceEquals(resourceMan, Nothing) Then
42
+ Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("Resources", GetType(Resources).Assembly)
43
+ resourceMan = temp
44
+ End If
45
+ Return resourceMan
46
+ End Get
47
+ End Property
48
+
49
+ '''<summary>
50
+ ''' Overrides the current thread's CurrentUICulture property for all
51
+ ''' resource lookups using this strongly typed resource class.
52
+ '''</summary>
53
+ <Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
54
+ Friend Property Culture() As Global.System.Globalization.CultureInfo
55
+ Get
56
+ Return resourceCulture
57
+ End Get
58
+ Set
59
+ resourceCulture = value
60
+ End Set
61
+ End Property
62
+ End Module
63
+ End Namespace
@@ -0,0 +1,117 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <root>
3
+ <!--
4
+ Microsoft ResX Schema
5
+
6
+ Version 2.0
7
+
8
+ The primary goals of this format is to allow a simple XML format
9
+ that is mostly human readable. The generation and parsing of the
10
+ various data types are done through the TypeConverter classes
11
+ associated with the data types.
12
+
13
+ Example:
14
+
15
+ ... ado.net/XML headers & schema ...
16
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
17
+ <resheader name="version">2.0</resheader>
18
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
19
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
20
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
21
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
22
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
23
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
24
+ </data>
25
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
26
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
27
+ <comment>This is a comment</comment>
28
+ </data>
29
+
30
+ There are any number of "resheader" rows that contain simple
31
+ name/value pairs.
32
+
33
+ Each data row contains a name, and value. The row also contains a
34
+ type or mimetype. Type corresponds to a .NET class that support
35
+ text/value conversion through the TypeConverter architecture.
36
+ Classes that don't support this are serialized and stored with the
37
+ mimetype set.
38
+
39
+ The mimetype is used for serialized objects, and tells the
40
+ ResXResourceReader how to depersist the object. This is currently not
41
+ extensible. For a given mimetype the value must be set accordingly:
42
+
43
+ Note - application/x-microsoft.net.object.binary.base64 is the format
44
+ that the ResXResourceWriter will generate, however the reader can
45
+ read any of the formats listed below.
46
+
47
+ mimetype: application/x-microsoft.net.object.binary.base64
48
+ value : The object must be serialized with
49
+ : System.Serialization.Formatters.Binary.BinaryFormatter
50
+ : and then encoded with base64 encoding.
51
+
52
+ mimetype: application/x-microsoft.net.object.soap.base64
53
+ value : The object must be serialized with
54
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
55
+ : and then encoded with base64 encoding.
56
+
57
+ mimetype: application/x-microsoft.net.object.bytearray.base64
58
+ value : The object must be serialized into a byte array
59
+ : using a System.ComponentModel.TypeConverter
60
+ : and then encoded with base64 encoding.
61
+ -->
62
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63
+ <xsd:element name="root" msdata:IsDataSet="true">
64
+ <xsd:complexType>
65
+ <xsd:choice maxOccurs="unbounded">
66
+ <xsd:element name="metadata">
67
+ <xsd:complexType>
68
+ <xsd:sequence>
69
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
70
+ </xsd:sequence>
71
+ <xsd:attribute name="name" type="xsd:string" />
72
+ <xsd:attribute name="type" type="xsd:string" />
73
+ <xsd:attribute name="mimetype" type="xsd:string" />
74
+ </xsd:complexType>
75
+ </xsd:element>
76
+ <xsd:element name="assembly">
77
+ <xsd:complexType>
78
+ <xsd:attribute name="alias" type="xsd:string" />
79
+ <xsd:attribute name="name" type="xsd:string" />
80
+ </xsd:complexType>
81
+ </xsd:element>
82
+ <xsd:element name="data">
83
+ <xsd:complexType>
84
+ <xsd:sequence>
85
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
86
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
87
+ </xsd:sequence>
88
+ <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
89
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
90
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
91
+ </xsd:complexType>
92
+ </xsd:element>
93
+ <xsd:element name="resheader">
94
+ <xsd:complexType>
95
+ <xsd:sequence>
96
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
97
+ </xsd:sequence>
98
+ <xsd:attribute name="name" type="xsd:string" use="required" />
99
+ </xsd:complexType>
100
+ </xsd:element>
101
+ </xsd:choice>
102
+ </xsd:complexType>
103
+ </xsd:element>
104
+ </xsd:schema>
105
+ <resheader name="resmimetype">
106
+ <value>text/microsoft-resx</value>
107
+ </resheader>
108
+ <resheader name="version">
109
+ <value>2.0</value>
110
+ </resheader>
111
+ <resheader name="reader">
112
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
113
+ </resheader>
114
+ <resheader name="writer">
115
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116
+ </resheader>
117
+ </root>
@@ -0,0 +1,73 @@
1
+ '------------------------------------------------------------------------------
2
+ ' <auto-generated>
3
+ ' This code was generated by a tool.
4
+ ' Runtime Version:2.0.50727.4918
5
+ '
6
+ ' Changes to this file may cause incorrect behavior and will be lost if
7
+ ' the code is regenerated.
8
+ ' </auto-generated>
9
+ '------------------------------------------------------------------------------
10
+
11
+ Option Strict On
12
+ Option Explicit On
13
+
14
+
15
+ Namespace My
16
+
17
+ <Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
18
+ Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0"), _
19
+ Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
20
+ Partial Friend NotInheritable Class MySettings
21
+ Inherits Global.System.Configuration.ApplicationSettingsBase
22
+
23
+ Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings),MySettings)
24
+
25
+ #Region "My.Settings Auto-Save Functionality"
26
+ #If _MyType = "WindowsForms" Then
27
+ Private Shared addedHandler As Boolean
28
+
29
+ Private Shared addedHandlerLockObject As New Object
30
+
31
+ <Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
32
+ Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs)
33
+ If My.Application.SaveMySettingsOnExit Then
34
+ My.Settings.Save()
35
+ End If
36
+ End Sub
37
+ #End If
38
+ #End Region
39
+
40
+ Public Shared ReadOnly Property [Default]() As MySettings
41
+ Get
42
+
43
+ #If _MyType = "WindowsForms" Then
44
+ If Not addedHandler Then
45
+ SyncLock addedHandlerLockObject
46
+ If Not addedHandler Then
47
+ AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
48
+ addedHandler = True
49
+ End If
50
+ End SyncLock
51
+ End If
52
+ #End If
53
+ Return defaultInstance
54
+ End Get
55
+ End Property
56
+ End Class
57
+ End Namespace
58
+
59
+ Namespace My
60
+
61
+ <Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
62
+ Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
63
+ Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
64
+ Friend Module MySettingsProperty
65
+
66
+ <Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
67
+ Friend ReadOnly Property Settings() As Global.My.MySettings
68
+ Get
69
+ Return Global.My.MySettings.Default
70
+ End Get
71
+ End Property
72
+ End Module
73
+ End Namespace
@@ -0,0 +1,7 @@
1
+ <?xml version='1.0' encoding='utf-8'?>
2
+ <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
3
+ <Profiles>
4
+ <Profile Name="(Default)" />
5
+ </Profiles>
6
+ <Settings />
7
+ </SettingsFile>
@@ -0,0 +1,171 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3
+ <PropertyGroup>
4
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6
+ <ProductVersion>9.0.30729</ProductVersion>
7
+ <SchemaVersion>2.0</SchemaVersion>
8
+ <ProjectGuid>{9B200AFF-C5DF-4ECC-96E9-2FCA6E554BE3}</ProjectGuid>
9
+ <OutputType>Library</OutputType>
10
+ <RootNamespace>
11
+ </RootNamespace>
12
+ <AssemblyName>SubSonic.TemplatesVB</AssemblyName>
13
+ <FileAlignment>512</FileAlignment>
14
+ <MyType>Windows</MyType>
15
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
16
+ <OptionExplicit>On</OptionExplicit>
17
+ <OptionCompare>Binary</OptionCompare>
18
+ <OptionStrict>Off</OptionStrict>
19
+ <OptionInfer>On</OptionInfer>
20
+ </PropertyGroup>
21
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
22
+ <DebugSymbols>true</DebugSymbols>
23
+ <DebugType>full</DebugType>
24
+ <DefineDebug>true</DefineDebug>
25
+ <DefineTrace>true</DefineTrace>
26
+ <OutputPath>bin\Debug\</OutputPath>
27
+ <DocumentationFile>SubSonic.TemplatesVB.xml</DocumentationFile>
28
+ <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
29
+ </PropertyGroup>
30
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
31
+ <DebugType>pdbonly</DebugType>
32
+ <DefineDebug>false</DefineDebug>
33
+ <DefineTrace>true</DefineTrace>
34
+ <Optimize>true</Optimize>
35
+ <OutputPath>bin\Release\</OutputPath>
36
+ <DocumentationFile>SubSonic.TemplatesVB.xml</DocumentationFile>
37
+ <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
38
+ </PropertyGroup>
39
+ <ItemGroup>
40
+ <Reference Include="MySql.Data, Version=6.0.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
41
+ <SpecificVersion>False</SpecificVersion>
42
+ <HintPath>..\_Utility\MySql.Data.dll</HintPath>
43
+ </Reference>
44
+ <Reference Include="nunit.framework, Version=2.4.6.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
45
+ <SpecificVersion>False</SpecificVersion>
46
+ <HintPath>..\_Utility\nunit.framework.dll</HintPath>
47
+ </Reference>
48
+ <Reference Include="SubSonic.Core, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
49
+ <SpecificVersion>False</SpecificVersion>
50
+ <HintPath>..\_Utility\SubSonic.Core.dll</HintPath>
51
+ </Reference>
52
+ <Reference Include="System" />
53
+ <Reference Include="System.Data" />
54
+ <Reference Include="System.Data.Linq">
55
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
56
+ </Reference>
57
+ <Reference Include="System.Xml" />
58
+ <Reference Include="System.Core">
59
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
60
+ </Reference>
61
+ <Reference Include="System.Xml.Linq">
62
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
63
+ </Reference>
64
+ <Reference Include="System.Data.DataSetExtensions">
65
+ <RequiredTargetFramework>3.5</RequiredTargetFramework>
66
+ </Reference>
67
+ <Reference Include="xunit, Version=1.1.0.1323, Culture=neutral, PublicKeyToken=8d05b1bb7a6fdb6c, processorArchitecture=MSIL">
68
+ <SpecificVersion>False</SpecificVersion>
69
+ <HintPath>..\_Utility\xunit.dll</HintPath>
70
+ </Reference>
71
+ </ItemGroup>
72
+ <ItemGroup>
73
+ <Import Include="Microsoft.VisualBasic" />
74
+ <Import Include="System" />
75
+ <Import Include="System.Collections" />
76
+ <Import Include="System.Collections.Generic" />
77
+ <Import Include="System.Data" />
78
+ <Import Include="System.Diagnostics" />
79
+ <Import Include="System.Linq" />
80
+ <Import Include="System.Xml.Linq" />
81
+ </ItemGroup>
82
+ <ItemGroup>
83
+ <Compile Include="ActiveRecord\ActiveRecord.vb">
84
+ <AutoGen>True</AutoGen>
85
+ <DesignTime>True</DesignTime>
86
+ <DependentUpon>ActiveRecord.tt</DependentUpon>
87
+ </Compile>
88
+ <Compile Include="ActiveRecord\Context.vb">
89
+ <AutoGen>True</AutoGen>
90
+ <DesignTime>True</DesignTime>
91
+ <DependentUpon>Context.tt</DependentUpon>
92
+ </Compile>
93
+ <Compile Include="ActiveRecord\StoredProcedures.vb">
94
+ <AutoGen>True</AutoGen>
95
+ <DesignTime>True</DesignTime>
96
+ <DependentUpon>StoredProcedures.tt</DependentUpon>
97
+ </Compile>
98
+ <Compile Include="ActiveRecord\Structs.vb">
99
+ <AutoGen>True</AutoGen>
100
+ <DesignTime>True</DesignTime>
101
+ <DependentUpon>Structs.tt</DependentUpon>
102
+ </Compile>
103
+ <Compile Include="My Project\AssemblyInfo.vb" />
104
+ <Compile Include="My Project\Application.Designer.vb">
105
+ <AutoGen>True</AutoGen>
106
+ <DependentUpon>Application.myapp</DependentUpon>
107
+ </Compile>
108
+ <Compile Include="My Project\Resources.Designer.vb">
109
+ <AutoGen>True</AutoGen>
110
+ <DesignTime>True</DesignTime>
111
+ <DependentUpon>Resources.resx</DependentUpon>
112
+ </Compile>
113
+ <Compile Include="My Project\Settings.Designer.vb">
114
+ <AutoGen>True</AutoGen>
115
+ <DependentUpon>Settings.settings</DependentUpon>
116
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
117
+ </Compile>
118
+ </ItemGroup>
119
+ <ItemGroup>
120
+ <EmbeddedResource Include="My Project\Resources.resx">
121
+ <Generator>VbMyResourcesResXFileCodeGenerator</Generator>
122
+ <LastGenOutput>Resources.Designer.vb</LastGenOutput>
123
+ <CustomToolNamespace>My.Resources</CustomToolNamespace>
124
+ <SubType>Designer</SubType>
125
+ </EmbeddedResource>
126
+ </ItemGroup>
127
+ <ItemGroup>
128
+ <None Include="ActiveRecord\ActiveRecord.tt">
129
+ <Generator>TextTemplatingFileGenerator</Generator>
130
+ <LastGenOutput>ActiveRecord.vb</LastGenOutput>
131
+ </None>
132
+ <None Include="ActiveRecord\Context.tt">
133
+ <Generator>TextTemplatingFileGenerator</Generator>
134
+ <LastGenOutput>Context.vb</LastGenOutput>
135
+ </None>
136
+ <None Include="ActiveRecord\Settings.ttinclude" />
137
+ <None Include="ActiveRecord\SQLServer.ttinclude" />
138
+ <None Include="ActiveRecord\StoredProcedures.tt">
139
+ <Generator>TextTemplatingFileGenerator</Generator>
140
+ <LastGenOutput>StoredProcedures.vb</LastGenOutput>
141
+ </None>
142
+ <None Include="ActiveRecord\Structs.tt">
143
+ <Generator>TextTemplatingFileGenerator</Generator>
144
+ <LastGenOutput>Structs.vb</LastGenOutput>
145
+ </None>
146
+ <None Include="App.config" />
147
+ <None Include="My Project\Application.myapp">
148
+ <Generator>MyApplicationCodeGenerator</Generator>
149
+ <LastGenOutput>Application.Designer.vb</LastGenOutput>
150
+ </None>
151
+ <None Include="My Project\Settings.settings">
152
+ <Generator>SettingsSingleFileGenerator</Generator>
153
+ <CustomToolNamespace>My</CustomToolNamespace>
154
+ <LastGenOutput>Settings.Designer.vb</LastGenOutput>
155
+ </None>
156
+ </ItemGroup>
157
+ <ItemGroup>
158
+ <Service Include="{B4F97281-0DBD-4835-9ED8-7DFB966E87FF}" />
159
+ </ItemGroup>
160
+ <ItemGroup>
161
+ <Compile Include="ActiveRecord\Tests\FetchTests.vb" />
162
+ </ItemGroup>
163
+ <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
164
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
165
+ Other similar extension points exist, see Microsoft.Common.targets.
166
+ <Target Name="BeforeBuild">
167
+ </Target>
168
+ <Target Name="AfterBuild">
169
+ </Target>
170
+ -->
171
+ </Project>