how to use fluentmigrator with SQL CLR - sqlclr

i was wandering if fluentmigrator has any feature to auto update a clr in sql. Is sql clr assemblies something that should be migrated separately?
Thanks in advance

Related

CLR Assembly equivalent in mysql?

In microsoft sql server, we can write a clr assembly (e.g. using c#). Is there a similar concept in mysql?
Is it possible to use c# to write an assembly for mysql?
many thanks

SQL Server 2008 Debugger Attach?

I have seen a few posts here about using the native MSSQL 2008 functionality to debug and step through TSQL.
In a Visual Studio 2010 .NET C# console app, I use simple ADO.NET to send some params to a stored proc. I can run it in the debugger and see what happens in the .NET code up until the point where the SqlCommand is executed. How can I get the debugger (or any debugger) to fire on the MSSQL side so I can follow data from the C# all the way to/though the DB?
Thanks.
If you want to capture what is sent cross the wire, use SQL Profiler.
Using SQL Server Profiler
If you are having problems stepping into a stored procedure from Visual Studio:
How to: Enable Transact-SQL Debugging
Walkthrough: Debug a Transact-SQL Stored Procedure
[Please note: your mileage may vary; I've known systems where this just wouldn't work. So much so, I never try to step into TSQL any more...]

Call external process in CLR Stored procedure

I know this is not an easy one, nor that it should be very popular. But does anyone know the best way of calling an external assembly with parameters in a trigger or a Stored procedures ? I have tried the CLR strored proc, but I can't add the reference that I need to update a DB2 database. Therefore, I would like to call an external assembly that could do it. Then I would call this assembly in a update trigger.
In SQL Server 2008 R2, the proc sys.xp_cmdshell is blocked by default. So the security guys here will not want to turn that on.
Thanks !
This is obvious that you can't treat a CLR project as a normal project and add references to it. Read this article for more information:
http://sqlserver-training.com/adding-external-references-to-sql-clr-projects/-

Using SQL Server 2008 R2 with Visual Studio Express

I want to create either "LINQ to SQL" classes or use "Entity Framework" from Visual Studio Express 2010. When I attempt to add a data source my only options are:
"Microsoft Access Database File"
"Microsoft SQL Server Compact 3.5"
"Microsoft SQL Server Database File"
Do I need VS2010 Pro to use LINQ to SQL or EF? I thought I could do all of this from Express. I even went so far as to install, "Microsoft SQL Server 2008 Native Client" and it still doesn't show SQL Server 2008 as a data source.
Thanks!
p.s. I feel like a complete idiot that I cannot get this to work
LINQ to SQL (L2S) and LINQ to Entities (L2E) (aka Entity Framework) are part of the .NET Framework, and so are part of .NET regardless of what version of VS you use.
Both first appeared in 3.5 and are updated in 4.0, although LINQ to SQL won't be progressed any further in terms of functionality. Hence there isn't a dependency on the IDE. What might be missing is the LINQ to SQL or LINQ to Entity designers, but I don't think from memory they are.
If you select Add New Item and look in the Data group you should find "LINQ to SQL classes" and "ADO.NET Entity Data Model" - if not perhaps the designers are not part of Express.
[edit]
Seems this has been asked before:
Connecting to SQL Server with Visual Studio Express Editions
For LINQ, use SQLMetal to generate the spew and then just form connection string and let the code connect - you shoudldn't let VS mess with your data representation anyway. SQLMetal's spew is very clean and you can also edit it, once you learn what's what, to make it lighter - or heavier :-) - there are hooks for more code as well.
Before that check that your SQL instance is running and visible - VS installed SQL Express as default instance it can prevent real SQL's default instance from even being visible - a lot of uninstalls in your future if that happened.

LINQ to MySQL - what is the best option?

Has anyone used any of the utilities out there for LINQ to MySQL? Do you know which one is best?
So far I know of LINQ for NHibernate, and DBLinq
There is also LINQ to LLBLGEN, which then can support many, many databases.
From LLBLGEN's Feature Page
Support for SQL Server (MSDE, SQL Server
7/2000/2005/Express, SQL CE 2.0, 3.0,
3.5), SQL Server CE Desktop (New!), Oracle (Oracle 8i / 9i /10g),
PostgreSQL 7.4+/8.x, Firebird 1.x /
2.x, IBM DB2 UDB (7.x/8.x/9.x), MySQL (4.x, 5.x), Sybase Adaptive Server
Enterprise (ASE) (New!), Sybase SQL
iAnywhere (ASA) (New!) and MS Access
2000/XP/2003/2007
There is also Mindscape LightSpeed, which works with MySQL amongst other databases, and has a LINQ provider.
Try our MySQL-specific LINQ to SQL implementation.
Overview is available here.
You're right, LINQ to NHibernate will provide this sort of functionality as will the entity framework with a MySQL provider. I don't know of any other way of doing it as LINQ to SQL was very much specific to Microsoft SQL Server.