protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e)
{
GWportalDataContext db = new GWportalDataContext();
...
C# Refactor LINQ queries
by klim8d.myopenid.com,
December 19, 2011 04:39,
4 refactorings, tagged with LINQ speed C# asp.net performance
protected void LinqDataSource1_Selecting(object sender, LinqDataSourceSelectEventArgs e)
{
GWportalDataContext db = new GWportalDataContext();
...
C# Refactor LINQ selection
I hope someone could refact...
public void DoClaimSearch(SearchClaimInfo clmRequest)
{
var result = claimManager.ClaimSearch(clmRequest);
...
C# Configuration.AppSettings.G...
by tazmanrising.myopenid.com,
November 28, 2011 13:12,
1 refactoring, tagged with refactoring, c#, unit test case, moq
I am starting to write some...
public virtual void StartReceivingThread()
{
Thread thrReceive = new Thread(Receive);
...
C# thread tcp/ip
it's my first stab at tcp/i...
public class WeakDelegate
{
private readonly WeakReference _target;
...
C# WeakDelegate and WeakMultiC...
by Andrei Rinea,
September 28, 2011 02:19,
1 refactoring, tagged with wpf, weakevent, weakreference, weak, delegate, multicastdelegate, eventhandler
I would appreciate some cri...
[Authorize(Roles="Administrator,DR")]
public class RegistrarController : BaseController
{
...
C# Need help drying up my cont...
by zsysop.myopenid.com,
September 22, 2011 11:34,
8 refactorings, tagged with C# asp.net-mvc controller asp.net-mvc-3.0
Thanks for any help
// USER Profile using System; ...
C# Matching the most propertie...
by openid.daniel.mcpherson.name/danielmc,
September 18, 2011 17:05,
3 refactorings, tagged with C#, filtering, performance
We have an interesting litt...
//MYSQLCONNECTION.cs namespace MyClassGenerator.DatabaseController ...
C# Best method for DAL
by programmerist,
September 02, 2011 14:57,
1 refactoring, tagged with oop, C#, OOP Class, refactoring
i have generated DAL layer ...
private void InitArrays(int size)
{
_id = new string[size];
...
C# Refractor code with SQL bu...
by https://www.google.com/accounts/o8/id?id=AItOawlimm1oKtOeVAo-0tSuFHsckNVuSqBumU4,
August 16, 2011 13:12,
5 refactorings, tagged with C#, ADO.NET, SQL, ODP.NET, BULK, INSERT
Hi I use SQL bulk insert to...
private static int[,] GetGrade(int largura, int altura)
{
var meiow = largura / 2;
...
C# For a Isometric Game
by https://www.google.com/accounts/o8/id?id=AItOawkQtG01B8h-pJWL6rWbfo2oTMpxRLN2R2U,
August 16, 2011 08:32,
3 refactorings
the code return a isometric...
using System; using System.Collections.Generic; using System.Linq; ...
C# Refactoring Suggestions
Was looking for some sugges...
using System; using System.Collections.Generic; using System.Linq; ...
C# Problem with Login for Admi...
by tragicdancer.myopenid.com,
July 14, 2011 13:32,
1 refactoring, tagged with models, controller, login, C# asp.net-mvc, asp.net-mvc
I'm trying to implement a s...
var uri = new Uri(url);
var relurl = uri.Scheme + "://" + uri.Authority;
foreach (var v in uri.Segments.Take(uri.Segments.Count() - 1)) { relurl += v; }
public static class Fnv1Hash
{
public static uint ComputeHash32(IEnumerable<byte> bytes)
...
C# FNV-1 and FNV-1a Hash for 3...
There has to be a better wa...
public static int InsertGroups(List<Group> groups)
{
DBConnectionForInformix con = new DBConnectionForInformix("");
...
C# This IfxTransaction has com...
When I use the transactions...
class Program
{
static void Main(string[] args)
...
C# Check all tasks are finishe...
by https://www.google.com/accounts/o8/id?id=AItOawkI7Qfyfp66B3kjzjs8HlGnI8zkbNlulE4,
June 22, 2011 10:09,
3 refactorings, tagged with threading
This is intended to try and...
foreach (string name in q)
{
for (int i = 0; i < 3; i++)
...
C# substring according to sign
this code is used to sub st...
private void ReplaceAccents(ref string input)
{
input = Regex.Replace(input, @"[\xC0-\xC5\xE0-\xE5]", "a"); //Replace with "a"
...
C# C# code to replace accents ...
I need to strip out things ...
using System; using System.Collections.Generic; using System.Linq; ...
C# keyboard input manager, hel...
by https://www.google.com/accounts/o8/id?id=AItOawnqawCiTBXC2E2brXU3OtMUew3g7x9ZDtc,
June 07, 2011 15:55,
21 refactorings, tagged with input, C#, xna, keyboard, manager, really, ugly
This code looks incredibly ...
using System; using System.Collections.Generic; using System.Linq; ...
C# how to Refactor Base Class ...
i try to generate some meth...
public class MyClass1
{
private DataDestination1 _destination = new DataDestination1();
...
C# Need help with refactoring ...
Need some help optimizing &...
System.MessageBox.Show("Hello World");
C# as
by https://www.google.com/accounts/o8/id?id=AItOawlZIuNh_N3P35Xktxz3oWWDkX0Lxkt5iTg,
April 18, 2011 08:07,
No refactoring, tagged with ActionMailer
System.MessageBox.Show("Hel...
private ReportData SetPartnerInfo(ReportData reportData, string partnerPrefix, Partner partner)
{
PropertyInfo propertyInfo = reportData.GetType().GetProperty(partnerPrefix + "IDType");
...
C# Cleaning up this method
Is there any cleaner way to...
Hello, my other thread went...