public void GetFields() { var ana = new SqlAnalyzer(connStr); var fields = ana.GetFields("Person"); Assert.AreEqual("(PersonId,FirstName,LastName,Age)", fields.Print()); }
public void GetFieldsFromView() { var ana = new SqlAnalyzer(connStr); var fields = ana.GetFields("ID_NUMView"); Assert.AreEqual("(ID_NUM,PersonId,FirstName,LastName,Age)", fields.Print()); }
public string GetFields(string table) { var ana = new SqlAnalyzer(Config.TestDBConnectionString); var fields = ana.GetFields(table); return fields.Print(); }