Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide our SQLite3 #72

Merged
merged 2 commits into from
Sep 23, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Akavache.Mobile/Akavache.Mac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>Akavache.Mac</AssemblyName>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Mobile/Akavache.Mobile_Monotouch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Akavache.Mobile</AssemblyName>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Mobile/Akavache.Mobile_WP8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Mobile/Akavache.Mobile_WinRT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Portable/Akavache.Portable.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Portable/Akavache.Portable_MonoMac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>Akavache.Portable</AssemblyName>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Portable/Akavache.Portable_Monodroid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<CodeContractsAssemblyMode>1</CodeContractsAssemblyMode>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Portable/Akavache.Portable_Monotouch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Akavache.Portable</AssemblyName>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Sqlite3/Akavache.Sqlite3_MonoMac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>Akavache.Sqlite3</AssemblyName>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Sqlite3/Akavache.Sqlite3_Monodroid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<CodeContractsAssemblyMode>1</CodeContractsAssemblyMode>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Sqlite3/Akavache.Sqlite3_Monotouch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Akavache.Sqlite3</AssemblyName>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Sqlite3/Akavache.Sqlite3_Net45.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 1 addition & 1 deletion Akavache.Sqlite3/Akavache.Sqlite3_WinRT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
38 changes: 19 additions & 19 deletions Akavache.Sqlite3/SQLite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

namespace SQLite
{
public class SQLiteException : System.Exception
internal class SQLiteException : System.Exception
{
public SQLite3.Result Result { get; private set; }

Expand Down Expand Up @@ -69,7 +69,7 @@ public enum SQLiteOpenFlags {
/// <summary>
/// Represents an open connection to a SQLite database.
/// </summary>
public class SQLiteConnection : IDisposable
internal class SQLiteConnection : IDisposable
{
private bool _open;
private TimeSpan _busyTimeout;
Expand Down Expand Up @@ -323,7 +323,7 @@ public int CreateTable(Type ty)
return count;
}

public class TableInfo
internal class TableInfo
{
public int cid { get; set; }

Expand Down Expand Up @@ -1098,7 +1098,7 @@ public void Close ()
/// <summary>
/// Represents a parsed connection string.
/// </summary>
public class SQLiteConnectionString
internal class SQLiteConnectionString
{
public string ConnectionString { get; private set; }
public string DatabasePath { get; private set; }
Expand All @@ -1122,7 +1122,7 @@ public SQLiteConnectionString (string databasePath, bool storeDateTimeAsTicks)
}

[AttributeUsage (AttributeTargets.Class)]
public class TableAttribute : Attribute
internal class TableAttribute : Attribute
{
public string Name { get; set; }

Expand All @@ -1133,7 +1133,7 @@ public TableAttribute (string name)
}

[AttributeUsage (AttributeTargets.Property)]
public class ColumnAttribute : Attribute
internal class ColumnAttribute : Attribute
{
public string Name { get; set; }

Expand All @@ -1144,17 +1144,17 @@ public ColumnAttribute (string name)
}

[AttributeUsage (AttributeTargets.Property)]
public class PrimaryKeyAttribute : Attribute
internal class PrimaryKeyAttribute : Attribute
{
}

[AttributeUsage (AttributeTargets.Property)]
public class AutoIncrementAttribute : Attribute
internal class AutoIncrementAttribute : Attribute
{
}

[AttributeUsage (AttributeTargets.Property)]
public class IndexedAttribute : Attribute
internal class IndexedAttribute : Attribute
{
public string Name { get; set; }
public int Order { get; set; }
Expand All @@ -1172,12 +1172,12 @@ public IndexedAttribute(string name, int order)
}

[AttributeUsage (AttributeTargets.Property)]
public class IgnoreAttribute : Attribute
internal class IgnoreAttribute : Attribute
{
}

[AttributeUsage (AttributeTargets.Property)]
public class UniqueAttribute : IndexedAttribute
internal class UniqueAttribute : IndexedAttribute
{
public override bool Unique {
get { return true; }
Expand All @@ -1186,7 +1186,7 @@ public class UniqueAttribute : IndexedAttribute
}

[AttributeUsage (AttributeTargets.Property)]
public class MaxLengthAttribute : Attribute
internal class MaxLengthAttribute : Attribute
{
public int Value { get; private set; }

Expand All @@ -1197,7 +1197,7 @@ public MaxLengthAttribute (int length)
}

[AttributeUsage (AttributeTargets.Property)]
public class CollationAttribute: Attribute
internal class CollationAttribute: Attribute
{
public string Value { get; private set; }

Expand All @@ -1207,7 +1207,7 @@ public CollationAttribute (string collation)
}
}

public class TableMapping
internal class TableMapping
{
public Type MappedType { get; private set; }

Expand Down Expand Up @@ -1352,7 +1352,7 @@ protected internal void Dispose()
}
}

public class Column
internal class Column
{
PropertyInfo _prop;

Expand Down Expand Up @@ -1402,7 +1402,7 @@ public object GetValue (object obj)
}
}

public static class Orm
internal static class Orm
{
public const int DefaultMaxStringLength = 140;

Expand Down Expand Up @@ -1514,7 +1514,7 @@ public static int MaxStringLength(PropertyInfo p)
}
}

public class SQLiteCommand
internal class SQLiteCommand
{
SQLiteConnection _conn;
private List<Binding> _bindings;
Expand Down Expand Up @@ -1798,7 +1798,7 @@ object ReadCol (Sqlite3Statement stmt, int index, SQLite3.ColType type, Type clr
/// <summary>
/// Since the insert never changed, we only need to prepare once.
/// </summary>
public class PreparedSqlLiteInsertCommand : IDisposable
internal class PreparedSqlLiteInsertCommand : IDisposable
{
public bool Initialized { get; set; }

Expand Down Expand Up @@ -1883,7 +1883,7 @@ private void Dispose (bool disposing)
}
}

public class TableQuery<T> : IEnumerable<T> where T : new()
internal class TableQuery<T> : IEnumerable<T> where T : new()
{
public SQLiteConnection Connection { get; private set; }

Expand Down
8 changes: 4 additions & 4 deletions Akavache.Sqlite3/SQLiteAsync.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public interface IAsyncTableQuery<T> where T : new()
IObservable<T> FirstOrDefaultAsync ();
}

public class SQLiteAsyncConnection
internal class SQLiteAsyncConnection
{
SQLiteConnectionString _connectionString;
SQLiteConnectionPool _pool;
Expand Down Expand Up @@ -237,7 +237,7 @@ public IObservable<Unit> Shutdown()
}
}

public class CreateTablesResult
internal class CreateTablesResult
{
public Dictionary<Type, int> Results { get; private set; }

Expand All @@ -247,7 +247,7 @@ internal CreateTablesResult ()
}
}

public class SQLiteConnectionPool
internal class SQLiteConnectionPool
{
readonly int connectionCount;
readonly Tuple<SQLiteConnectionString, SQLiteOpenFlags> connInfo;
Expand Down Expand Up @@ -330,7 +330,7 @@ public void OnApplicationSuspended ()
}
}

public class SQLiteConnectionWithoutLock : SQLiteConnection
internal class SQLiteConnectionWithoutLock : SQLiteConnection
{
public SQLiteConnectionWithoutLock (SQLiteConnectionString connectionString, SQLiteOpenFlags flags)
: base (connectionString.DatabasePath, flags, connectionString.StoreDateTimeAsTicks)
Expand Down
4 changes: 2 additions & 2 deletions Akavache.Tests/Akavache.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -155,4 +155,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
2 changes: 1 addition & 1 deletion Akavache/Akavache_MonoMac.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>Akavache</AssemblyName>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
2 changes: 1 addition & 1 deletion Akavache/Akavache_Monodroid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<CodeContractsAssemblyMode>1</CodeContractsAssemblyMode>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Akavache/Akavache_Monotouch.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>Akavache</AssemblyName>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
Expand Down
4 changes: 2 additions & 2 deletions Akavache/Akavache_Net45.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down Expand Up @@ -99,4 +99,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
2 changes: 1 addition & 1 deletion Akavache/Akavache_WP8.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ValidateXaml>true</ValidateXaml>
<ThrowErrorsInValidation>true</ThrowErrorsInValidation>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\Akavache\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
4 changes: 2 additions & 2 deletions Akavache/Akavache_WinRT.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{BC8A1FFA-BEE3-4634-8014-F334798102B3};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
<RestorePackages>false</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -168,4 +168,4 @@
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
Loading