Monthly Archives: September 2010

Hello world!

This (Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!) message is by WordPress, well I will continue here after 4 years+ in My Space. Bye bye My Space. Advertisements

Posted in Uncategorized | 1 Comment

Silverlight WCF RIA Domain Service Class – CRUD (Part4 Update Entity – Row)

This sample is to Update the rows from the entity. The Update operation is an asynchronous operation as well and so does the Delete operation later. 1. Add a button control name btnEdit. <Button Content=”Update” Height=”23″ HorizontalAlignment=”Left” Margin=”190,155,0,0″ Name=”btnEdit” VerticalAlignment=”Top” Width=”75″ Click=”btnEdit_Click” … Continue reading

Posted in .Net | 6 Comments

Silverlight WCF RIA Domain Service Class – CRUD (Part3 Read Entity – Row)

This sample is to read the rows from the entity. The Read operation is an asynchronous operation. 1. Add a button control name btnRead. <Button Content="Read" Height="23" HorizontalAlignment="Left" Margin="126,155,0,0" Name="btnRead" VerticalAlignment="Top" Width="75" Click="btnRead_Click" />   2. Add the code to … Continue reading

Posted in .Net | 3 Comments

Delete all the rows using LINQ with Entity Framework (EF)

My colleagues have raised a very good question back in a week ago “Should I loop through the collection to issue like entBC.DeleteObject(objBC); to delete all the rows in database table”   The answer is no but you can use … Continue reading

Posted in .Net | 5 Comments

Silverlight WCF RIA Domain Service Class – CRUD (Part2 Create Entity – Row)

Create row is the simplest operation thus far. 1. Add 3 Labels, 3 Textboxs and 1 Button to MainPage.xaml as below.   2. Add the code below in MainPage.xaml.cs code file.     private void btnAdd_Click(object sender, RoutedEventArgs e)     { … Continue reading

Posted in .Net | 2 Comments

Silverlight WCF RIA Domain Service Class – CRUD (Part1 Create Domain Service Class)

1. User left click on "New Project… (push button)" in "Start Page – Microsoft Visual Web Developer 2010 Express (Administrator)" 2. Click on "Name: (editable text)" in "New Project" 3. Click Silverlight Project, click Silverlight Application then type a name … Continue reading

Posted in .Net | 8 Comments