Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit db22dd9

Browse files
committed
OrmLite project for iOS
OrmLite base for iOS to support future SQLite & SQLCipher databases
1 parent df39072 commit db22dd9

File tree

5 files changed

+228
-0
lines changed

5 files changed

+228
-0
lines changed

src/ServiceStack.OrmLite.iOS.sln

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.iOS", "ServiceStack.OrmLite\ServiceStack.OrmLite.iOS.csproj", "{7E3FEA8A-C770-4D50-8AD5-F56FCF0B7E07}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{7E3FEA8A-C770-4D50-8AD5-F56FCF0B7E07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{7E3FEA8A-C770-4D50-8AD5-F56FCF0B7E07}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{7E3FEA8A-C770-4D50-8AD5-F56FCF0B7E07}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{7E3FEA8A-C770-4D50-8AD5-F56FCF0B7E07}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.iOS", "ServiceStack.OrmLite.iOS\ServiceStack.OrmLite.iOS.csproj", "{A30245A2-65FD-4741-A816-E91C83DAB759}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Any CPU = Debug|Any CPU
9+
Release|Any CPU = Release|Any CPU
10+
EndGlobalSection
11+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12+
{A30245A2-65FD-4741-A816-E91C83DAB759}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13+
{A30245A2-65FD-4741-A816-E91C83DAB759}.Debug|Any CPU.Build.0 = Debug|Any CPU
14+
{A30245A2-65FD-4741-A816-E91C83DAB759}.Release|Any CPU.ActiveCfg = Release|Any CPU
15+
{A30245A2-65FD-4741-A816-E91C83DAB759}.Release|Any CPU.Build.0 = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(SolutionProperties) = preSolution
18+
HideSolutionNode = FALSE
19+
EndGlobalSection
20+
EndGlobal
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
using 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+
[assembly: AssemblyTitle("ServiceStack.OrmLite.iOS")]
9+
[assembly: AssemblyDescription("")]
10+
[assembly: AssemblyConfiguration("")]
11+
[assembly: AssemblyCompany("")]
12+
[assembly: AssemblyProduct("ServiceStack.OrmLite.iOS")]
13+
[assembly: AssemblyCopyright("Copyright © 2013")]
14+
[assembly: AssemblyTrademark("")]
15+
[assembly: AssemblyCulture("")]
16+
17+
// Setting ComVisible to false makes the types in this assembly not visible
18+
// to COM components. If you need to access a type in this assembly from
19+
// COM, set the ComVisible attribute to true on that type.
20+
[assembly: ComVisible(false)]
21+
22+
// The following GUID is for the ID of the typelib if this project is exposed to COM
23+
[assembly: Guid("2fadd66d-92e1-4de5-854a-eecc67502304")]
24+
25+
// Version information for an assembly consists of the following four values:
26+
//
27+
// Major Version
28+
// Minor Version
29+
// Build Number
30+
// Revision
31+
//
32+
// You can specify all the values or you can default the Build and Revision Numbers
33+
// by using the '*' as shown below:
34+
// [assembly: AssemblyVersion("1.0.*")]
35+
[assembly: AssemblyVersion("1.0.0.0")]
36+
[assembly: AssemblyFileVersion("1.0.0.0")]
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{A30245A2-65FD-4741-A816-E91C83DAB759}</ProjectGuid>
9+
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
10+
<OutputType>Library</OutputType>
11+
<RootNamespace>ServiceStack.OrmLite.iOS</RootNamespace>
12+
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
13+
<AssemblyName>ServiceStack.OrmLite.iOS</AssemblyName>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\iPhone\Debug</OutputPath>
20+
<DefineConstants>DEBUG</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
<ConsolePause>false</ConsolePause>
24+
<MtouchDebug>true</MtouchDebug>
25+
<CodesignKey>iPhone Developer</CodesignKey>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<DebugType>none</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\iPhone\Release</OutputPath>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
<ConsolePause>false</ConsolePause>
34+
<CodesignKey>iPhone Developer</CodesignKey>
35+
</PropertyGroup>
36+
<ItemGroup>
37+
<Compile Include="Class1.cs" />
38+
<Compile Include="Properties\AssemblyInfo.cs" />
39+
</ItemGroup>
40+
<ItemGroup>
41+
</ItemGroup>
42+
<ItemGroup>
43+
<Reference Include="System" />
44+
<Reference Include="System.Xml" />
45+
<Reference Include="System.Core" />
46+
<Reference Include="monotouch" />
47+
</ItemGroup>
48+
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.MonoTouch.CSharp.targets" />
49+
</Project>
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{7E3FEA8A-C770-4D50-8AD5-F56FCF0B7E07}</ProjectGuid>
9+
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
10+
<OutputType>Library</OutputType>
11+
<RootNamespace>ServiceStack.OrmLite.iOS</RootNamespace>
12+
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
13+
<AssemblyName>ServiceStack.OrmLite.iOS</AssemblyName>
14+
</PropertyGroup>
15+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
16+
<DebugSymbols>true</DebugSymbols>
17+
<DebugType>full</DebugType>
18+
<Optimize>false</Optimize>
19+
<OutputPath>bin\iPhone\Debug</OutputPath>
20+
<DefineConstants>DEBUG</DefineConstants>
21+
<ErrorReport>prompt</ErrorReport>
22+
<WarningLevel>4</WarningLevel>
23+
<ConsolePause>false</ConsolePause>
24+
<MtouchDebug>true</MtouchDebug>
25+
<CodesignKey>iPhone Developer</CodesignKey>
26+
</PropertyGroup>
27+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
28+
<DebugType>none</DebugType>
29+
<Optimize>true</Optimize>
30+
<OutputPath>bin\iPhone\Release</OutputPath>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
<ConsolePause>false</ConsolePause>
34+
<CodesignKey>iPhone Developer</CodesignKey>
35+
</PropertyGroup>
36+
<ItemGroup>
37+
<Compile Include="BelongToAttribute.cs" />
38+
<Compile Include="ComputeAttribute.cs" />
39+
<Compile Include="DbTypes.cs" />
40+
<Compile Include="DecimalLengthAttribute.cs" />
41+
<Compile Include="Expressions\ExpressionVisitor.cs" />
42+
<Compile Include="Expressions\ParameterRebinder.cs" />
43+
<Compile Include="Expressions\PredicateBuilder.cs" />
44+
<Compile Include="Expressions\ReadConnectionExtensions.cs" />
45+
<Compile Include="Expressions\ReadExtensions.cs" />
46+
<Compile Include="Expressions\Sql.cs" />
47+
<Compile Include="Expressions\SqlExpressionVisitor.cs" />
48+
<Compile Include="Expressions\WriteConnectionExtensions.cs" />
49+
<Compile Include="Expressions\WriteExtensions.cs" />
50+
<Compile Include="FieldDefinition.cs" />
51+
<Compile Include="ForeignKeyAttribute.cs" />
52+
<Compile Include="IgnoreAttribute.cs" />
53+
<Compile Include="INamingStrategy.cs" />
54+
<Compile Include="IOrmLiteDialectProvider.cs" />
55+
<Compile Include="IPropertyInvoker.cs" />
56+
<Compile Include="JoinSqlBuilder.cs" />
57+
<Compile Include="ModelDefinition.cs" />
58+
<Compile Include="OrmLiteConfig.cs" />
59+
<Compile Include="OrmLiteConfigExtensions.cs" />
60+
<Compile Include="OrmLiteConnection.cs" />
61+
<Compile Include="OrmLiteConnectionFactory.cs" />
62+
<Compile Include="OrmLiteDDLExtensions.cs" />
63+
<Compile Include="OrmLiteDialectProviderBase.cs" />
64+
<Compile Include="OrmLiteNamingStrategyBase.cs" />
65+
<Compile Include="OrmLitePersistenceProvider.cs" />
66+
<Compile Include="OrmLiteReadConnectionExtensions.cs" />
67+
<Compile Include="OrmLiteReadExtensions.cs" />
68+
<Compile Include="OrmLiteSPStatement.cs" />
69+
<Compile Include="OrmLiteTransaction.cs" />
70+
<Compile Include="OrmLiteUtilExtensions.cs" />
71+
<Compile Include="OrmLiteWriteConnectionExtensions.cs" />
72+
<Compile Include="OrmLiteWriteExtensions.cs" />
73+
<Compile Include="PrimaryKeyAttribute.cs" />
74+
<Compile Include="Properties\AssemblyInfo.cs" />
75+
<Compile Include="PropertyInvoker.cs" />
76+
<Compile Include="ReflectionPropertyInvoker.cs" />
77+
<Compile Include="SchemaAttribute.cs" />
78+
<Compile Include="SequenceAttribute.cs" />
79+
<Compile Include="SqlBuilder.cs" />
80+
<Compile Include="SqlInValues.cs" />
81+
</ItemGroup>
82+
<ItemGroup>
83+
</ItemGroup>
84+
<ItemGroup>
85+
<Reference Include="ServiceStack.Common.MonoTouch">
86+
<HintPath>..\..\lib\ServiceStack.Common.MonoTouch.dll</HintPath>
87+
</Reference>
88+
<Reference Include="ServiceStack.Interfaces.MonoTouch">
89+
<HintPath>..\..\lib\ServiceStack.Interfaces.MonoTouch.dll</HintPath>
90+
</Reference>
91+
<Reference Include="ServiceStack.Text.MonoTouch">
92+
<HintPath>..\..\lib\ServiceStack.Text.MonoTouch.dll</HintPath>
93+
<Private>False</Private>
94+
</Reference>
95+
<Reference Include="System" />
96+
<Reference Include="System.ComponentModel.DataAnnotations" />
97+
<Reference Include="System.Data" />
98+
<Reference Include="System.Xml" />
99+
<Reference Include="System.Core" />
100+
<Reference Include="monotouch" />
101+
</ItemGroup>
102+
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.MonoTouch.CSharp.targets" />
103+
</Project>

0 commit comments

Comments
 (0)