DotNetShoutout - Stories tagged with ADO.NET
8
shouts

HanselMinutes - Show #205 - Open Data Protocol (OData) with Pablo Castro

published 2 days, 17 hours, 1 minute ago posted by mithumithu 4 days, 11 hours, 4 minutes ago
Tuesday, March 16, 2010 1:20:20 PM GMT Sunday, March 14, 2010 7:17:04 PM GMT
Astoria, ADO.NET Data Services and OData - what's the difference and the real story? How does OData work and when should I use it? When do I use OData and when do I use WCF? Scott gets the scoop from the architect himself, Pablo Castro. (more)
category: Podcast | clicked: 85 | comment | | source: www.hanselminutes.com
tags: ADO.NET, HanselMinutes, OData, WCF
7
shouts

Get SQL Parameters From an Object Revisited. - .NET Development - Gal Ratner

published 21 days, 17 hours, 38 minutes ago posted by galratnergalratner 23 days, 36 minutes ago
Thursday, February 25, 2010 12:43:03 PM GMT Wednesday, February 24, 2010 5:45:57 AM GMT
I have my own custom data layer adapter. Its pretty slick and you probably know it by now if you read my blog post Move a DataReader to an Object with reflection Revisited. If you downloaded and are using the file ObjectHelper.cs you probably noticed a method called GetSQLParametersFromPublicProperties. This method returns an array of SqlParameters from a live object. You can use this array if you are invoking a Stored Procedure and need to send some parameters into it. Something like: publicint AddCust... (more)
category: Architecture | clicked: 27 | 1 comment | | source: galratner.com
tags: ADO.NET, Data Access Layer, data access pattern
5
shouts

High performance bulk loading to SQL Server using SqlBulkCopy | AdaTheDev

published 24 days, 21 minutes ago posted by AdaTheDevAdaTheDev 25 days, 12 hours, 28 minutes ago
Tuesday, February 23, 2010 6:00:03 AM GMT Sunday, February 21, 2010 5:53:56 PM GMT
If you ever want to bulk load data into an SQL Server database as quickly as possible, the SqlBulkCopy class is your friend (in the System.Data.SqlClient namespace). Since being introduced in .NET 2.0, it has provided an extremely efficient way to bulk load data into SQL Server, and is one the classes that I see as a "must know about". A usual scenario is where you want to dump some data into the database to then do some processing on. Or you want to temporarily load some data in to then query to get som... (more)
category: SQL | clicked: 13 | comment | | source: www.adathedev.co.uk
tags: ADO.NET, Performance, SQLBulkCopy, SQLServer, SQL-Server
7
shouts

Agile ADO.Net Persistence Layer Download is on CodePlex

published 44 days, 18 hours, 21 minutes ago posted by http://rlacovara.blogspot.com/http://rlacovara.blogspot.com/ 48 days, 3 hours, 51 minutes ago
Tuesday, February 02, 2010 12:00:23 PM GMT Saturday, January 30, 2010 2:30:08 AM GMT
I’ve have quite a few requests for sample code so I pulled the AAPL code out of my app, put it in a stripped down ASP.Net MVC sample app and published it on CodePlex.   You will need Visual Studio 2008,  ASP.Net MVC Framework version 1.0, and Sql Server 2008 to run the sample app.  A db backup file is included in the zip and in the source code. You can download the code at: http://aapl.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=39653 (more)
category: Agile | clicked: 12 | 1 comment | | source: rlacovara.blogspot.com
tags: ADO.NET, Business Layer, Data Access Layer, DTO
7
shouts

Playing with C# Func and ADO.NET

posted by http://derans.myopenid.com/http://derans.myopenid.com/ 52 days, 3 hours, 28 minutes ago
Tuesday, January 26, 2010 2:53:23 AM GMT
I’ve always liked the look of the generic Func and I think the possibilities behind it are awesome. However, it’s usually difficult for me to find a good place to use it. I’m probably just not that used to using it yet and I am missing out on some huge advantages. Ignorance is not bliss sometimes :) So anyhow, I was playing with the good ole ExecuteScalar & ExecuteNonQuery commands on the IDbCommand interface and came up with something kinda cool. At least I thought so… (more)
category: ASP.NET | clicked: 9 | comment | | source: derans.blogspot.com
tags: ADO.NET, Func, Generics
10
shouts

Agile ADO.Net Persistence Layer Part 4: Writing data access for new data shapes

published 51 days, 16 hours, 48 minutes ago posted by http://rlacovara.blogspot.com/http://rlacovara.blogspot.com/ 52 days, 14 hours ago
Tuesday, January 26, 2010 1:33:47 PM GMT Monday, January 25, 2010 4:21:45 PM GMT
I recently decided that I needed to take a fresh look at how to build a persistence architecture that would provide the flexibility of an ORM, that would embrace change instead of resist it (making maintenance code easier), and would use ADO.Net.  I started building from the ground up, threw away any best practices that resulted in friction, and Agile ADO.Net Persistence Layer is the result.  Part 1 in the series can be found here: Agile ADO.Net Persistence Layer Overview. What’s a new data shape? Has t... (more)
category: Architecture | clicked: 48 | comment | | source: rlacovara.blogspot.com
tags: ADO.NET, Agile, DTO
12
shouts

The Angry .Net Developer: Agile Ado.Net Persistence Layer : Part 1 Design Overview

published 52 days, 18 hours, 10 minutes ago posted by ali62bali62b 53 days, 23 hours, 59 minutes ago
Monday, January 25, 2010 12:11:40 PM GMT Sunday, January 24, 2010 6:22:16 AM GMT
Last year I did a blog post series on how to design a High Performance DAL using Ado.Net.  Judging by the response I’ve gotten from that series, there must be a lot of developers out there who believe that even with the availability of LINQ, Entity Framework, and a host of other ORM technologies, Ado.Net is still your best option when designing a persistence layer.  BTW, I’m one of them. After that series I started digging into Entity Framework and LINQ, and I was impressed by how effortless those tech... (more)
category: Architecture | clicked: 80 | comment | | source: rlacovara.blogspot.com
tags: ADO.NET
10
shouts

Agile ADO.Net Persistence Layer: Part 3 Service Class Data Access Methods

published 53 days, 18 hours, 37 minutes ago posted by http://rlacovara.blogspot.com/http://rlacovara.blogspot.com/ 58 days, 13 hours, 4 minutes ago
Sunday, January 24, 2010 11:44:10 AM GMT Tuesday, January 19, 2010 5:17:20 PM GMT
When I say data access methods, I’m talking about the methods my UI is going to call whenever it needs to get data.  When my Posts controller needs a list of BlogPosts to display, it’s going to call a BAL method like GetAllBlogPosts() or GetAllBlogPostsForCategory().  Last time I mentioned (over and over) that I like to keep things simple.  When I need to get or save data, I don’t want to have to search through 3 different classes just to find the one with the method I need.  Instead, I’m putting all my ... (more)
category: Architecture | clicked: 59 | comment | | source: rlacovara.blogspot.com
tags: ADO.NET, DTO, POCO
10
shouts

Defining Custom Functions in Entity Framework - Gil Fink on .Net

published 74 days, 16 hours, 46 minutes ago posted by gilfgilf 76 days, 16 hours, 17 minutes ago
Sunday, January 03, 2010 1:34:59 PM GMT Friday, January 01, 2010 2:04:21 PM GMT
During the SDP conference I have been asked about the use of functions inside the EDM. This post will try to answer one such question of how to define a custom function in EF. (more)
category: Foundation | clicked: 70 | comment | | source: blogs.microsoft.co.il
tags: ADO.NET, Entity Framework
11
shouts

HerdingCode - Episode 66: Brad Wilson and Scott Densmore on iPhone Development

published 85 days, 9 hours, 39 minutes ago posted by mithumithu 86 days, 12 hours, 1 minute ago
Wednesday, December 23, 2009 8:42:22 PM GMT Tuesday, December 22, 2009 6:20:26 PM GMT
What do Brad Wilson and Scott Densmore have in common? They’re expert .NET developers, a couple of Mac fanboys, and they’re both joining the guys on this week’s episode of Herding Code. Listen in while Brad and, yet another, Scott talk about the Mac, Windows, and the ins and outs of iPhone development: In case you’ve never heard of them, Brad and Scott D introduce themselves and share their interest in the Mac and iPhone development. Brad and Scott D talk about Objective-C as it compares to other lan... (more)
category: Podcast | clicked: 42 | comment | | source: herdingcode.com
tags: .NET, ADO.NET, ASP.NET MVC 2.0, C#, HerdingCode, iPhone, MVC
9
shouts

Why You Should Use the Null Coalescing Operator

published 87 days, 16 hours, 36 minutes ago posted by KodefuGuruKodefuGuru 88 days, 22 hours, 28 minutes ago
Monday, December 21, 2009 1:45:49 PM GMT Sunday, December 20, 2009 7:53:16 AM GMT
Introduced in C# 2.0, the null coalescing operator (??) allows one to program in a concise, declarative fashion when performing null checks. This was important in 2005 as it made it easier to utilize another important feature: nullable types. Nullable types solved the problem of representing a value type that also contained a null value. This representation of value types is common in databases, and oftentimes caused problems when doing relational to object mapping. Nullable types are generic structs t... (more)
category: Foundation | clicked: 89 | 1 comment | | source: www.kodefuguru.com
tags: ADO.NET, Generics, Linq, nullables
10
shouts

Applying an XSLT Transform to a DataSet

published 112 days, 9 hours, 51 minutes ago posted by http://quachnguyen.myopenid.com/http://quachnguyen.myopenid.com/ 114 days, 13 hours, 25 minutes ago
Thursday, November 26, 2009 8:30:17 PM GMT Tuesday, November 24, 2009 4:56:26 PM GMT
The WriteXml method of the DataSet enables you to write the contents of a DataSet as XML data. A common task is to then transform that XML to another format using XSL Transformations (XSLT). However In .NET, the DataSet is synchronized with the XmlDataDocument which enables you to apply an XSLT stylesheet to the contents of a DataSet without having to first write the contents of the DataSet as XML data using WriteXml. Let’s get started with small C# and VB.NET console application. The following e... (more)
category: ASP.NET | clicked: 106 | comment | | source: code2code.info
tags: ADO.NET
12
shouts

Connecting to SQL Azure Using ADO.NET in F# - Matt

published 122 days, 20 hours, 33 minutes ago posted by StevesSteves 123 days, 14 hours, 43 minutes ago
Monday, November 16, 2009 9:48:51 AM GMT Sunday, November 15, 2009 3:37:58 PM GMT
This is a very straightforward port of SQL Azure code from msdn: open System open System.Collections.Generic open System.Linq open System.Text open System.Data.SqlClient open System.Data // Provide the following information let userName = " (more)
category: Architecture | clicked: 45 | comment | | source: www.mattssoftwareblog.com
tags: ADO.NET, Azure, F#, FSharp, SQL, SQL Azure
13
shouts

Working with Large Databases in Entity Framework - Gil Fink on .Net

published 123 days, 21 hours, 5 minutes ago posted by gilfgilf 125 days, 16 hours, 3 minutes ago
Sunday, November 15, 2009 9:16:53 AM GMT Friday, November 13, 2009 2:18:55 PM GMT
Yesterday I was asked by a colleague a very good EF question. The question was how to split a model or how create a model for a large database. (more)
category: Foundation | clicked: 95 | comment | | source: blogs.microsoft.co.il
tags: ADO.NET, ADO.NET ENTITY FRAMEWORK, Entity Framework
12
shouts

Understanding ASP.Net : A Complete Overview | SolidDotNet.com

published 129 days, 18 hours, 7 minutes ago posted by http://neerajmathur.myopenid.com/http://neerajmathur.myopenid.com/ 130 days, 13 hours, 20 minutes ago
Monday, November 09, 2009 12:14:23 PM GMT Sunday, November 08, 2009 5:01:22 PM GMT
Understanding ASP.Net : A Complete Overview with presentations... Introduction to Visual Studio Application and Page Frameworks GUI Controls Validation Server Controls Working with Master Pages Themes & Skins Collections & Lists Data Binding Data Management with ADO.Net Working with XML Site Navigation Security State Management Caching Debugging & Error Handling File I/O & Streams Configurations (more)
category: ASP.NET | clicked: 54 | comment | | source: www.soliddotnet.com
tags: ADO.NET, ASP .NET, Master Page, XML
14
shouts

Move a DataReader to an Object with reflection Revisited - .NET Development - Gal Ratner

published 129 days, 18 hours, 7 minutes ago posted by galratnergalratner 130 days, 15 hours, 59 minutes ago
Monday, November 09, 2009 12:14:23 PM GMT Sunday, November 08, 2009 2:22:51 PM GMT
if you have read my article Move a DataReader to an Object with reflection where i explain how to move a row from a DataReader into a custom object. Mapping the query fields into object properties, you may have noticed the rigidity of the code. You needed to have the exact numcers of fields in the query without any NULL values. I have since refactored the code to be more loose. using System; using System.Data.SqlClient; using System.Reflection; using System.Collections.Generic; using System.Linq; u... (more)
category: Architecture | clicked: 38 | comment | | source: galratner.com
tags: ADO.NET
12
shouts

LINQ shortcut when using Silverlight and ADO .NET Data Services - Stephen Forte

published 132 days, 10 hours, 21 minutes ago posted by StevesSteves 133 days, 23 hours, 42 minutes ago
Friday, November 06, 2009 8:00:38 PM GMT Thursday, November 05, 2009 6:39:16 AM GMT
I have a simple demo application that uses ADO.NET Data Services as a data service back end for a Silverlight application.  My ADO.NET Data Service uses the Entity Framework to map the Northwind database tables of Customers, Orders, and Order Details. Once the Silverlight applications sets a service reference to the ADO.NET Data Service, you can use the client side LINQ libraries to build your application. My application looks like this, it has a drop down filled with customers, a grid with Order and a g... (more)
category: Architecture | clicked: 35 | comment | | source: www.stephenforte.net
tags: ADO.NET, ADO.NET Data Service, ADO.NET Data Services, Linq, Silverlight
18
shouts

Using C# Dynamic to simplify ADO.NET Data Access - David Ebbo

published 136 days, 22 hours, 13 minutes ago posted by ScottScott 137 days, 23 hours, 45 minutes ago
Monday, November 02, 2009 8:08:39 AM GMT Sunday, November 01, 2009 6:36:40 AM GMT
Recently, I started playing around with C# dynamic, and blogged how it could be used to call static class members late bound.  Today, I was talking to Phil Haack, who I think had talked to ScottGu, and he mentioned that it would be cool to use dynamic to simplify data access when you work directly with SQL query.  So I thought I’d play around with that, and it didn’t take much code to make it work nicely. So the scenario is that you’re not using any fanc... (more)
category: Architecture | clicked: 60 | comment | | source: blogs.msdn.com
tags: ADO.NET, ADO.NET Data Service, ADO.NET Data Services
13
shouts

Entity Framework Free Tools List - Gil Fink on .Net

published 142 days, 1 hour, 47 minutes ago posted by gilfgilf 142 days, 23 hours, 49 minutes ago
Wednesday, October 28, 2009 4:33:59 AM GMT Tuesday, October 27, 2009 6:32:14 AM GMT
In my last session at Microsoft I mentioned some EF free tools that you can use which can help you to be more productive. Since I got a comment about sharing my list, this is the free tool list and the places you can find them and download them: (more)
category: Foundation | clicked: 77 | comment | | source: blogs.microsoft.co.il
tags: ADO.NET, Entity Framework, Tools
9
shouts

Retrieving SQL Server Runtime Statistics

posted by http://quachnguyen.myopenid.com/http://quachnguyen.myopenid.com/ 148 days, 15 hours, 37 minutes ago
Wednesday, October 21, 2009 2:44:31 PM GMT
Retrieving SQL Server Runtime Statistics You want to get information about your connection to SQL Server, including bytes sent, bytes received, connection time, and execution time. The .NET Framework 2.0 added support for runtime statistics with the SQL Server data provider. Runtime statistics expose information about processing queries in the database. You must enable statistics by setting the StatisticsEnabled property of the SqlConnection object to true after the connection has been create... (more)
category: SQL | clicked: 8 | comment | | source: code2code.info
tags: ADO.NET
Previous 1 2 3 4 5 6 7 Next