Rohan  Rathore
Select and Delete Data Using LINQ With WCF?
By Rohan Rathore in LINQ on Apr 29 2013
  • Bhabani Prasad
    May, 2014 21

    public class MyDatabse : DataContext {public Table Bookss;public MyDatabse(string connection) : base(connection) { } }[Table(Name = "Books")] public class Bookss {[Column(IsPrimaryKey = true)]public string Title;[Column]public string Rating; } class Program {static void Main(string[] args){CreateDatabase("DynamicDatabase11");}public static void CreateDatabase(string Dbname ){MyDatabse db = new MyDatabse("ConString" Dbname "");db.CreateDatabase();} }

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS