Quantcast
Channel: SQL Server Compact & SQLite Toolbox
Viewing all 2796 articles
Browse latest View live

Created Unassigned: Problems creating DataAccess.cs for SQLite DB [12136]

$
0
0
__Issue Description__
The generated DataAccess.cs file seems to have multiple flaws:
1. usings-block contains usings only for namespaces "System" and "SQLite". "SQLite" does not exist, should be "System.Data.SQLite".
2. SQLiteConnection.CreateTable<T>() does not exist as of System.Data.SQLite 1.0.97.0; produces compile error.
3. The used attributes for the POCO generation seem to be wrong:
a) Instead of [Key], it's using [PrimaryKey].
b) Instead of [Required], it's using [NotNull].

__Steps to reproduce__
1. Create .NET 4.5 C# project.
2. Add NuGet Packages: System.Data.SQLite and System.Data.SQLite EF6.
3. Create or load an SQLite database in the Toolbox window.
4. Right-click DB, choose "Add sqlite-net DataAccess.cs to current Project..."
5. Inspect generated DataAccess.cs.

__Additional Information__
Tested with Visual Studio 2012 using SQL Server Compact/SQLite Toolbox 4.2.0.0.
See the attached screenshot for the generated file using a very simple SQLite database with only one table with 4 columns.

Created Unassigned: Code template for generated DataAccess.cs [12137]

$
0
0
This is a request.
I'd like to have a code template (T4?) for generating the DataAccess.cs, to have more flexibility.
Here are some of the reasons for why I want this:
* I'd like to make a template which enables Entity Framework support, generating a proper DbContext object.
* I'd like to alter the POCO generation, for example sometimes I'd like properties to be virtual, or to implement INotifyPropertyChanged by default.
* I'd like an easy way to change how the code is layed out; for example I'd like an empty row between properties.

Commented Unassigned: Code template for generated DataAccess.cs [12137]

$
0
0
This is a request.
I'd like to have a code template (T4?) for generating the DataAccess.cs, to have more flexibility.
Here are some of the reasons for why I want this:
* I'd like to make a template which enables Entity Framework support, generating a proper DbContext object.
* I'd like to alter the POCO generation, for example sometimes I'd like properties to be virtual, or to implement INotifyPropertyChanged by default.
* I'd like an easy way to change how the code is layed out; for example I'd like an empty row between properties.
Comments: ** Comment from web user: ErikEJ **

The DataAccess.cs code is not for use with Entity Framework. and the SQLite ADO.NET provider, but for use with the sqlite-net.cs "API" to be used mainly on platform that do not have ADO.NET

You can already use the standard EDM Wizard and generate a Code First Model from Database with SQLite.
You can also customize the standard templates: https://msdn.microsoft.com/en-us/data/dn753860

Commented Unassigned: Problems creating DataAccess.cs for SQLite DB [12136]

$
0
0
__Issue Description__
The generated DataAccess.cs file seems to have multiple flaws:
1. usings-block contains usings only for namespaces "System" and "SQLite". "SQLite" does not exist, should be "System.Data.SQLite".
2. Missing using for "System.ComponentModel.DataAnnotations".
3. SQLiteConnection.CreateTable<T>() does not exist as of System.Data.SQLite 1.0.97.0; produces compile error.
4. The used attributes for the POCO generation seem to be wrong:
a) Instead of [Key], it's using [PrimaryKey].
b) Instead of [Required], it's using [NotNull].

__Steps to reproduce__
1. Create .NET 4.5 C# project.
2. Add NuGet Packages: System.Data.SQLite and System.Data.SQLite EF6.
3. Create or load an SQLite database in the Toolbox window.
4. Right-click DB, choose "Add sqlite-net DataAccess.cs to current Project..."
5. Inspect generated DataAccess.cs.

__Additional Information__
Tested with Visual Studio 2012 using SQL Server Compact/SQLite Toolbox 4.2.0.0.
See the attached screenshot for the generated file using a very simple SQLite database with only one table with 4 columns.
Comments: ** Comment from web user: ErikEJ **

The DataAccess.cs code is not for use with Entity Framework. and the SQLite ADO.NET provider, but for use with the sqlite-net.cs "API" to be used mainly on platform that do not have ADO.NET

You can already use the standard EF 6.1.3 EDM Wizard and generate a Code First Model from Database with SQLite.

Commented Unassigned: Code template for generated DataAccess.cs [12137]

$
0
0
This is a request.
I'd like to have a code template (T4?) for generating the DataAccess.cs, to have more flexibility.
Here are some of the reasons for why I want this:
* I'd like to make a template which enables Entity Framework support, generating a proper DbContext object.
* I'd like to alter the POCO generation, for example sometimes I'd like properties to be virtual, or to implement INotifyPropertyChanged by default.
* I'd like an easy way to change how the code is layed out; for example I'd like an empty row between properties.
Comments: ** Comment from web user: YoYoFreakCJ **

Thanks, haven't come across this little piece of important information. I just assumed it's for use with the ADO.NET provider.

Closed Unassigned: Code template for generated DataAccess.cs [12137]

$
0
0
This is a request.
I'd like to have a code template (T4?) for generating the DataAccess.cs, to have more flexibility.
Here are some of the reasons for why I want this:
* I'd like to make a template which enables Entity Framework support, generating a proper DbContext object.
* I'd like to alter the POCO generation, for example sometimes I'd like properties to be virtual, or to implement INotifyPropertyChanged by default.
* I'd like an easy way to change how the code is layed out; for example I'd like an empty row between properties.

Closed Unassigned: Problems creating DataAccess.cs for SQLite DB [12136]

$
0
0
__Issue Description__
The generated DataAccess.cs file seems to have multiple flaws:
1. usings-block contains usings only for namespaces "System" and "SQLite". "SQLite" does not exist, should be "System.Data.SQLite".
2. Missing using for "System.ComponentModel.DataAnnotations".
3. SQLiteConnection.CreateTable<T>() does not exist as of System.Data.SQLite 1.0.97.0; produces compile error.
4. The used attributes for the POCO generation seem to be wrong:
a) Instead of [Key], it's using [PrimaryKey].
b) Instead of [Required], it's using [NotNull].

__Steps to reproduce__
1. Create .NET 4.5 C# project.
2. Add NuGet Packages: System.Data.SQLite and System.Data.SQLite EF6.
3. Create or load an SQLite database in the Toolbox window.
4. Right-click DB, choose "Add sqlite-net DataAccess.cs to current Project..."
5. Inspect generated DataAccess.cs.

__Additional Information__
Tested with Visual Studio 2012 using SQL Server Compact/SQLite Toolbox 4.2.0.0.
See the attached screenshot for the generated file using a very simple SQLite database with only one table with 4 columns.

Edited Feature: Show NULL values [12125]

$
0
0
Result panel show NULLs as empty fields for SQL CE and SQLite, while they should be shown as in MS SQL Server Management Studio and other data base management tools:

It is extremely helpful when you can see actual NULL values, as well as highlighting them.

Source code checked in, #96805

$
0
0
Add-in: Show NULL values as 'NULL' in query result text and grid

Commented Feature: Show NULL values [12125]

$
0
0
Result panel show NULLs as empty fields for SQL CE and SQLite, while they should be shown as in MS SQL Server Management Studio and other data base management tools:

It is extremely helpful when you can see actual NULL values, as well as highlighting them.
Comments: Associated with changeset 96805.

Closed Feature: Show NULL values [12125]

$
0
0
Result panel show NULLs as empty fields for SQL CE and SQLite, while they should be shown as in MS SQL Server Management Studio and other data base management tools:

It is extremely helpful when you can see actual NULL values, as well as highlighting them.

Source code checked in, #96806

Released: Release 4.3 Visual Studio add-in (Jul 05, 2015)

$
0
0

New in vNext

New features:
Rename connection name
Scan solution for database connections now also scans for SQLite database files
SQLite-net DataAccess.cs now also contains views
SQLite-net DataAccess.cs supports nullable columns (like int?)
NULL values displayed as 'NULL' in Query results text and grid

Improvements:
Clarified location of Server Explorer - Data Connections
Made Toolbar white!
Allow Esc key on About dialog

Bug fixes:
SQL CE scripting to SQLite should not include ROWGUIDCOL and newid()

REVIEWS

I would be very grateful if you post any reviews for the Toolbox here

Updated Release: Release 4.3 Visual Studio add-in (jul 05, 2015)

$
0
0

New in vNext

New features:
Rename connection name
Scan solution for database connections now also scans for SQLite database files
SQLite-net DataAccess.cs now also contains views
SQLite-net DataAccess.cs supports nullable columns (like int?)
NULL values displayed as 'NULL' in Query results text and grid

Improvements:
Clarified location of Server Explorer - Data Connections
Made Toolbar white!
Allow Esc key on About dialog

Bug fixes:
SQL CE scripting to SQLite should not include ROWGUIDCOL and newid()

REVIEWS

I would be very grateful if you post any reviews for the Toolbox here

Updated Wiki: Home

$
0
0
Project Description
SQL Server Compact & SQLite Toolbox is a Visual Studio add-in and standalone app , for managing all aspects of your SQL Server Compact/SQLite database files

Please download the Visual Studio add-in (for both 3.5, 4.0 and SQLite) from Visual Studio Gallery

Follow me on Twitter: @ErikEJ

The Toolbox is Visual Studio 2015 ready!

Cannot resolve image macro, invalid image name or id.

Add-in version 4.2 - April 2015 - Extensive SQLite support and a number of improvements/bug fixes
SQL Server Compact Toolbox 4.2

Demo video of version 4.1 on Channel 9

Demo video of version 2.6 on Channel 9

For similar functionality in SQL Server Management Studio and from a command line, use my SQL Compact Scripting Utility Project on CodePlex.

Please feel free to provide feedback on bugs and feature requests using the Issue Tracker

toolbox4.png

toolbox2.png

toolbox1.png

toolbox3.png

Options.png

Standalone edition:
Standalone.png

This project is inspired by the excellent SQL Azure Explorer CodePlex project. Thanks for being there.

For more technical information on Visual Studio add-ins, see this blog post.

Updated Wiki: Home

$
0
0
Project Description
SQL Server Compact & SQLite Toolbox is a Visual Studio add-in and standalone app , for managing all aspects of your SQL Server Compact/SQLite database files

Please download the Visual Studio add-in (for both 3.5, 4.0 and SQLite) from Visual Studio Gallery

Follow me on Twitter: @ErikEJ

The Toolbox is Visual Studio 2015 ready!

vs2015_launch_partner_small.png

Add-in version 4.2 - April 2015 - Extensive SQLite support and a number of improvements/bug fixes
SQL Server Compact Toolbox 4.2

Demo video of version 4.1 on Channel 9

Demo video of version 2.6 on Channel 9

For similar functionality in SQL Server Management Studio and from a command line, use my SQL Compact Scripting Utility Project on CodePlex.

Please feel free to provide feedback on bugs and feature requests using the Issue Tracker

toolbox4.png

toolbox2.png

toolbox1.png

toolbox3.png

Options.png

Standalone edition:
Standalone.png

This project is inspired by the excellent SQL Azure Explorer CodePlex project. Thanks for being there.

For more technical information on Visual Studio add-ins, see this blog post.

Updated Wiki: Home

$
0
0
Project Description
SQL Server Compact & SQLite Toolbox is a Visual Studio add-in and standalone app , for managing all aspects of your SQL Server Compact/SQLite database files

Please download the Visual Studio add-in (for both 3.5, 4.0 and SQLite) from Visual Studio Gallery

Follow me on Twitter: @ErikEJ

vs2015_launch_partner_small.png

Add-in version 4.2 - April 2015 - Extensive SQLite support and a number of improvements/bug fixes
SQL Server Compact Toolbox 4.2

Demo video of version 4.1 on Channel 9

Demo video of version 2.6 on Channel 9

For similar functionality in SQL Server Management Studio and from a command line, use my SQL Compact Scripting Utility Project on CodePlex.

Please feel free to provide feedback on bugs and feature requests using the Issue Tracker

toolbox4.png

toolbox2.png

toolbox1.png

toolbox3.png

Options.png

Standalone edition:
Standalone.png

This project is inspired by the excellent SQL Azure Explorer CodePlex project. Thanks for being there.

For more technical information on Visual Studio add-ins, see this blog post.

Source code checked in, #96873

$
0
0
add-in: Unique indexes now always scripted as unique constraints, and improved default propagation from server export

Released: Release 4.3 Visual Studio add-in (Jul 11, 2015)

$
0
0

New in vNext

New features:
Rename connection name
Scan solution for database connections now also scans for SQLite database files
SQLite-net DataAccess.cs now also contains views
SQLite-net DataAccess.cs supports nullable columns (like int?)
NULL values displayed as 'NULL' in Query results text and grid
Unique indexes now always scripted as UNIQUE constraints

Improvements:
Clarified location of Server Explorer - Data Connections
Made Toolbar white!
Allow Esc key on About dialog
Improved scripting of some SQL Server default values
Bug fixes:
SQL CE scripting to SQLite should not include ROWGUIDCOL and newid()

REVIEWS

I would be very grateful if you post any reviews for the Toolbox here

Updated Release: Release 4.3 Visual Studio add-in (jul 11, 2015)

$
0
0

New in vNext

New features:
Rename connection name
Scan solution for database connections now also scans for SQLite database files
SQLite-net DataAccess.cs now also contains views
SQLite-net DataAccess.cs supports nullable columns (like int?)
NULL values displayed as 'NULL' in Query results text and grid
Unique indexes now always scripted as UNIQUE constraints

Improvements:
Clarified location of Server Explorer - Data Connections
Made Toolbar white!
Allow Esc key on About dialog
Improved scripting of some SQL Server default values
Bug fixes:
SQL CE scripting to SQLite should not include ROWGUIDCOL and newid()

REVIEWS

I would be very grateful if you post any reviews for the Toolbox here
Viewing all 2796 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>