On Mon, 15 Dec 2008 17:12:37 +0100, "Allen" <[email protected]>
said:
> The disconnect is fine but I was looking for I suppose
> the
> equivalent of free tables in VFP.
>
You won't find it. There is no magic bullet that will give you the same
integrated RAD ability like VFP has. You can get a lot of the way there
by abstracting the data as far away as you can. For example use an
object-relational mapping tool to create objects representing your data,
and writing LINQ queries using the objects.
Or here's how to get NHibernate to add a record, but there's a lot of
scaffolding under it.
ISessionFactory factory = cfg.BuildSessionFactory();
ISession session = factory.OpenSession();
ITransaction transaction = session.BeginTransaction();
SalesCustomer sc = new SalesCustomer();
sc.Sn_account = CodeTextBox.Text;
sc.Sn_name = NameTextBox.Text;
session.Save(sc);
transaction.Commit();
session.Close();
--
Alan Bourke
[email protected]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.