Click here to Skip to main content
15,891,431 members
Articles / Web Development / XHTML

LINQ

Rate me:
Please Sign up or sign in to vote.
2.43/5 (4 votes)
20 Aug 2008CPOL5 min read 17.7K   216   8  
Linq_Part1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;

/// <summary>
/// Summary description for Employee
/// </summary>

[Table(Name = "users")]
public class users
{
    [Column(Name = "ID",IsDbGenerated=true,IsPrimaryKey=true)]
    public int ID { get; set; }

    [Column(Name = "UserName", DbType = "nvarchar(50)")]
    public string UserName { get; set; }
    [Column(Name = "Password", DbType = "nvarchar(50)")]
    public string Password { get; set; }

    public users()
    {

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader Samsung Electronics
United Arab Emirates United Arab Emirates
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions