Silverlight Row Error - silverlight-4.0

I am usinq Ms Sql Server - Ado Net Entity Model and DomainService Class for connet to database from Silverlight.
I have A datagrid on my page
if there is alot of row in my query my datagrid dont show anything.What can I do ? forexample i have 37.000 records on my query do i have to use MySql

You need to limit your number of records in the grid, not switch databases.
http://msdn.microsoft.com/en-us/magazine/dd695920.aspx#id0420139
DomainDataSource DataPager with silverlight 3 DataGrid & .Net RIA Services

Related

VB.NET and SQL: how to update ListView / DatagridView from SQL Server database

I have a listview / datagrid on my vb form which is derived from the SQL Server database at form load. There are several users in my program
Now, whenever data is updated in certain tables (e.g. insert, update, delete), I want my listview / datagrid to be updated.
For example:
User1 and User2: gets data into the listview / datagrid from SQL Server database at form load event
User2: inserts data into a table in the SQL Server database
User1: his listview / datagrid should be updated from the SQL Server database without clicking a button or any event inside the form. The server itself should update the listview / datagrid for User1
Purpose: I want to avoid frequent SQL queries (e.g. click refresh every time to update the listview / datagrid).
This method will boost speed in the user side without querying data from SQL Server database every time.
I am new to StackOverflow. Please consider. Thanks

Problem while binding 100000 records from database to the data table in asp.netmvc using ADO.net

In my table I'm having 1,50000 records, I have to display in front end table. In ASP.Net MVC using ADO.Net
getting 100000 records from SQL server database through Web API.I'm getting Memory out of range Exception while binding to the data table.

Reverse engineer a cube(Analysis Service) enabling data access for .NET applications?

how to reverse engineer an SQL cube(Analysis Service)so that a data access for .NET applications is enabled , just like Entity Framework (ex. dataBase first approach ) but instead of an SQL DB a live Cube(Multidimensional Expressions) that can be queried via LINQ query ?
Use a data provider such as ADOMD which can connect to a cube to read its structure, and run MDX queries to return tables of values.

Can Entity Framework (LINQ) select rows based on JSON where clause?

I have a column in a SQL database table of JSON data. Can I use Entity Framework and LINQ to query and filter based on a field/value in the SQL JSON column?
I am using SQL 2016, VS 2017, EF Core 2.0, .NET Core 2.0.
Brian provides some links to a few good options. I think these all still require you to fully receive the SQL data, then apply filtering in .NET code; I'd really like to filter on the SQL server side of things and avoid pulling back all the rows, then filtering.
In addition, because my JSON data can have different properties for each row, filtering with SQL Server would be best.
I'm going to opt for using a SQL statement in LINQ per Brian's Code Project reference:
var blogs = _context.Blogs
.FromSql<Blog>(#"SELECT * FROM Blogs WHERE JSON_VALUE(Owner, '$.Name') = {0}", Owner)
.ToList();

EF 5.0 targeting multiple databases

We started using EF 5.0 with MVC 4 and everything was working great. Our application is a product where the DB can be dynamic (SQL, Oracle, AS400 etc). So we created entities and map it to DB based on Connection String. If ConnectionString says Oracle we set the dbcontext connection to Oracle.
Now the problem is there is a table in SQL and Oracle with same datatype number(18,0) and if Entity datatype is set to Double, it works with Oracle but not with SQL.
Because Oracle to Entity datatype mapping for number(18,0) is double but SQL number(18,0) is decimal in EF5.0
IS there a way that I use same entity mapping targetting dynamic DB's (SQL or Oracle or AS400)
I have same problem, until now I only found this:
http://mosesofegypt.net/post/Multiple-database-support-with-Entity-Framework.aspx
I´m using "database first". Maybe "Code first" will solve it, but it took 40 seconds at the first database connection after program has started, I think all the SSDL definition is retrieved dynamically from database in that 40 seconds (every time program is started!). This was unaccetable for me so I decided to use "database first" where all the schemainformation is prestored in the edmx file (SSDL-part). But this is not database independet, as I just have learned.