The videos describes step by step to use LinqToUmbraco. And the vids are from Aaron, the guy who implemented LingToUmbraco. Check them out afterwards it is an easy step to use it. If you don't want to watch them just let you create your LinQToUmbraco classes via rightclick on the document types nodes in the settings section.
How to use Linq?
How to use Linq to Umbracp?
Check out the videos from Aaron:
http://aaron-powell.com/training-videos
Thomas
Only Video? I wishy to use Linq and not XSLT because with Linq is possible to debug more friendly and separate logic from presentation. I like mvc.
The videos describes step by step to use LinqToUmbraco. And the vids are from Aaron, the guy who implemented LingToUmbraco. Check them out afterwards it is an easy step to use it. If you don't want to watch them just let you create your LinQToUmbraco classes via rightclick on the document types nodes in the settings section.
hth, Thomas
How?
To make your life easier i recommend you download http://our.umbraco.org/projects/developer-tools/autoexport2dotnet this will auto generate linq2umbraco files then you can start doing cool stuff like
readonly WoiDataContext _woiContext =new WoiDataContext();
private void InitSearchDropDowns()
{
var countries = _woiContext.Countrys.Where(x => x.ParentNodeId == CountryStartNode);
country.DataSource = countries;
country.DataValueField = "Name";
country.DataTextField = "Name";
country.DataBind();
}
Please note the above is specific to my website. Watch the videos as recommended by Thomas its how I picked up how to use linq2umbraco.
Regards
Isamil
is working on a reply...