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

Commit b4fd9e7

Browse files
committed
OrmLite for Android
OrmLite base + SQLite provider added
1 parent 0b99a3d commit b4fd9e7

File tree

6 files changed

+200
-0
lines changed

6 files changed

+200
-0
lines changed

lib/MonoDroid/ServiceStack.Common.dll

236 KB
Binary file not shown.
90.5 KB
Binary file not shown.

lib/MonoDroid/ServiceStack.Text.dll

192 KB
Binary file not shown.

src/ServiceStack.OrmLite.Android.sln

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.Android", "ServiceStack.OrmLite\ServiceStack.OrmLite.Android.csproj", "{42BF9D4F-100D-4577-8538-5FD309D2CBEB}"
5+
EndProject
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServiceStack.OrmLite.Sqlite.Android", "ServiceStack.OrmLite.Sqlite\ServiceStack.OrmLite.Sqlite.Android.csproj", "{85DC23CC-BB59-4775-AA9C-552FF2BBEB22}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{42BF9D4F-100D-4577-8538-5FD309D2CBEB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{42BF9D4F-100D-4577-8538-5FD309D2CBEB}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{42BF9D4F-100D-4577-8538-5FD309D2CBEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{42BF9D4F-100D-4577-8538-5FD309D2CBEB}.Release|Any CPU.Build.0 = Release|Any CPU
18+
{85DC23CC-BB59-4775-AA9C-552FF2BBEB22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{85DC23CC-BB59-4775-AA9C-552FF2BBEB22}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{85DC23CC-BB59-4775-AA9C-552FF2BBEB22}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{85DC23CC-BB59-4775-AA9C-552FF2BBEB22}.Release|Any CPU.Build.0 = Release|Any CPU
22+
EndGlobalSection
23+
GlobalSection(MonoDevelopProperties) = preSolution
24+
StartupItem = ServiceStack.OrmLite\ServiceStack.OrmLite.Android.csproj
25+
EndGlobalSection
26+
EndGlobal
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>10.0.0</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{85DC23CC-BB59-4775-AA9C-552FF2BBEB22}</ProjectGuid>
9+
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{F278D4AB-4730-4720-B08E-FE5E31564D9E};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
10+
<OutputType>Library</OutputType>
11+
<RootNamespace>ServiceStack.OrmLite.Sqlite.Android</RootNamespace>
12+
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
13+
<AndroidResgenClass>Resource</AndroidResgenClass>
14+
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
15+
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
16+
<AssemblyName>ServiceStack.OrmLite.Sqlite.Android</AssemblyName>
17+
<TargetFrameworkVersion>v2.3</TargetFrameworkVersion>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\Debug</OutputPath>
24+
<DefineConstants>DEBUG;</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
<AndroidLinkMode>None</AndroidLinkMode>
28+
<ConsolePause>false</ConsolePause>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
31+
<DebugType>full</DebugType>
32+
<Optimize>true</Optimize>
33+
<OutputPath>bin\Release</OutputPath>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
37+
<ConsolePause>false</ConsolePause>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="System" />
41+
<Reference Include="System.Xml" />
42+
<Reference Include="System.Core" />
43+
<Reference Include="Mono.Android" />
44+
<Reference Include="System.Data" />
45+
<Reference Include="Mono.Data.Sqlite" />
46+
<Reference Include="ServiceStack.Common">
47+
<HintPath>..\..\lib\MonoDroid\ServiceStack.Common.dll</HintPath>
48+
</Reference>
49+
<Reference Include="ServiceStack.Interfaces">
50+
<HintPath>..\..\lib\MonoDroid\ServiceStack.Interfaces.dll</HintPath>
51+
</Reference>
52+
<Reference Include="ServiceStack.Text">
53+
<HintPath>..\..\lib\MonoDroid\ServiceStack.Text.dll</HintPath>
54+
</Reference>
55+
</ItemGroup>
56+
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
57+
<ItemGroup>
58+
<Compile Include="SqliteDialect.cs" />
59+
<Compile Include="SqliteExpressionVisitor.cs" />
60+
<Compile Include="SqliteOrmLiteDialectProvider.cs" />
61+
<Compile Include="SqliteOrmLiteDialectProviderBase.cs" />
62+
</ItemGroup>
63+
<ItemGroup>
64+
<ProjectReference Include="..\ServiceStack.OrmLite\ServiceStack.OrmLite.Android.csproj">
65+
<Project>{42BF9D4F-100D-4577-8538-5FD309D2CBEB}</Project>
66+
<Name>ServiceStack.OrmLite.Android</Name>
67+
</ProjectReference>
68+
</ItemGroup>
69+
</Project>
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>10.0.0</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{42BF9D4F-100D-4577-8538-5FD309D2CBEB}</ProjectGuid>
9+
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{F278D4AB-4730-4720-B08E-FE5E31564D9E};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
10+
<OutputType>Library</OutputType>
11+
<RootNamespace>ServiceStack.OrmLite.Android</RootNamespace>
12+
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
13+
<AndroidResgenClass>Resource</AndroidResgenClass>
14+
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
15+
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
16+
<AssemblyName>ServiceStack.OrmLite.Android</AssemblyName>
17+
<TargetFrameworkVersion>v2.3</TargetFrameworkVersion>
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\Debug</OutputPath>
24+
<DefineConstants>DEBUG;</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
<AndroidLinkMode>None</AndroidLinkMode>
28+
<ConsolePause>false</ConsolePause>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
31+
<DebugType>full</DebugType>
32+
<Optimize>true</Optimize>
33+
<OutputPath>bin\Release</OutputPath>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
37+
<ConsolePause>false</ConsolePause>
38+
</PropertyGroup>
39+
<ItemGroup>
40+
<Reference Include="System" />
41+
<Reference Include="System.Xml" />
42+
<Reference Include="System.Core" />
43+
<Reference Include="Mono.Android" />
44+
<Reference Include="System.Data" />
45+
<Reference Include="ServiceStack.Common">
46+
<HintPath>..\..\lib\MonoDroid\ServiceStack.Common.dll</HintPath>
47+
</Reference>
48+
<Reference Include="ServiceStack.Interfaces">
49+
<HintPath>..\..\lib\MonoDroid\ServiceStack.Interfaces.dll</HintPath>
50+
</Reference>
51+
<Reference Include="ServiceStack.Text">
52+
<HintPath>..\..\lib\MonoDroid\ServiceStack.Text.dll</HintPath>
53+
</Reference>
54+
<Reference Include="System.ComponentModel.DataAnnotations" />
55+
</ItemGroup>
56+
<Import Project="$(MSBuildExtensionsPath)\Novell\Novell.MonoDroid.CSharp.targets" />
57+
<ItemGroup>
58+
<Compile Include="Expressions\ExpressionVisitor.cs" />
59+
<Compile Include="Expressions\ParameterRebinder.cs" />
60+
<Compile Include="Expressions\PredicateBuilder.cs" />
61+
<Compile Include="Expressions\ReadConnectionExtensions.cs" />
62+
<Compile Include="Expressions\ReadExtensions.cs" />
63+
<Compile Include="Expressions\Sql.cs" />
64+
<Compile Include="Expressions\SqlExpressionVisitor.cs" />
65+
<Compile Include="Expressions\WriteConnectionExtensions.cs" />
66+
<Compile Include="Expressions\WriteExtensions.cs" />
67+
<Compile Include="BelongToAttribute.cs" />
68+
<Compile Include="ComputeAttribute.cs" />
69+
<Compile Include="DbTypes.cs" />
70+
<Compile Include="DecimalLengthAttribute.cs" />
71+
<Compile Include="FieldDefinition.cs" />
72+
<Compile Include="ForeignKeyAttribute.cs" />
73+
<Compile Include="IgnoreAttribute.cs" />
74+
<Compile Include="INamingStrategy.cs" />
75+
<Compile Include="IOrmLiteDialectProvider.cs" />
76+
<Compile Include="IPropertyInvoker.cs" />
77+
<Compile Include="JoinSqlBuilder.cs" />
78+
<Compile Include="ModelDefinition.cs" />
79+
<Compile Include="OrmLiteConfig.cs" />
80+
<Compile Include="OrmLiteConfigExtensions.cs" />
81+
<Compile Include="OrmLiteConnection.cs" />
82+
<Compile Include="OrmLiteConnectionFactory.cs" />
83+
<Compile Include="OrmLiteDDLExtensions.cs" />
84+
<Compile Include="OrmLiteDialectProviderBase.cs" />
85+
<Compile Include="OrmLiteNamingStrategyBase.cs" />
86+
<Compile Include="OrmLitePersistenceProvider.cs" />
87+
<Compile Include="OrmLiteReadConnectionExtensions.cs" />
88+
<Compile Include="OrmLiteReadExtensions.cs" />
89+
<Compile Include="OrmLiteSPStatement.cs" />
90+
<Compile Include="OrmLiteTransaction.cs" />
91+
<Compile Include="OrmLiteUtilExtensions.cs" />
92+
<Compile Include="OrmLiteWriteConnectionExtensions.cs" />
93+
<Compile Include="OrmLiteWriteExtensions.cs" />
94+
<Compile Include="PrimaryKeyAttribute.cs" />
95+
<Compile Include="PropertyInvoker.cs" />
96+
<Compile Include="ReflectionPropertyInvoker.cs" />
97+
<Compile Include="SchemaAttribute.cs" />
98+
<Compile Include="SequenceAttribute.cs" />
99+
<Compile Include="SqlBuilder.cs" />
100+
<Compile Include="SqlInValues.cs" />
101+
</ItemGroup>
102+
<ItemGroup>
103+
<None Include="OrmLiteApi.cd" />
104+
</ItemGroup>
105+
</Project>

0 commit comments

Comments
 (0)