CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of factor
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Threading;
 
namespace Westwind.Utilities
{
    /// <summary>
by Rick Strahl   October 09, 2011 @ 8:57pm
234 Views
no comments
 
C#
using System.Data;
using System.Data.OracleClient;
using Microsoft.Practices.EnterpriseLibrary.Data;
 
string sql = "DELETE from FFATA_RULES where N_ID = :N_ID";
Database db = DatabaseFactory.CreateDatabase();
System.Data.Common.DbCommand cmd = db.GetSqlStringCommand(sql);
db.AddInParameter(cmd, ":N_ID", DbType.Int32, ID);
db.ExecuteNonQuery(cmd);
by Gary Cline   September 22, 2010 @ 7:19am
130 Views
no comments
 
C#
using WestWind.BusinessObjects;
 
namespace CompanyName
{
    public class WebStoreFactory
    {
        public static busItem GetbusItem() 
        {
            busItem ItemObject = new busItem();
            return (busItem) WebStoreFactory.SetProperties(ItemObject);
by Matt Slay   February 05, 2010 @ 9:36am
220 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace Sample.Business
{
    public class SampleFactory
    {
        public static busUser GetUser()
by Matt Slay   November 26, 2009 @ 11:58am
Tags: Factory
229 Views
no comments
 
C#
public class EnableArtistTrackActionSpecs
{
    private readonly Playlist playlistFake;
    private readonly ArtistTrack trackToEnable;
 
    public EnableArtistTrackActionSpecs()
    {
        playlistFake = new Playlist();
        trackToEnable = MockRepository.GenerateStub<ArtistTrack>();
    }
by Scott Muc   October 29, 2009 @ 3:40pm
222 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate