Sterling is a nice option for NO SQL fans, who intent to save C# POCO objects into Isolated Storage container of windows phone 8. I will make life easier by pasting in the snippets for initializing the sterling engine, registering tables in a database, Saving data into the db. in a pretty straight forward manner.

Initializing the database:
public class FakeDatabase : BaseDatabaseInstance
{
protected override System.Collections.Generic.List RegisterTables()
{
return new List()
{
this.CreateTableDefinition(c=>c.Id)
};

}
}
Defining our POCO entity:
public class Info
{
public int Id { get; set; }
public string name { get; set; }
}
Registering and saving in the DB:
public partial class login : PhoneApplicationPage
{
private SterlingEngine engine;
private SterlingDefaultLogger logger;
public static ISterlingDatabaseInstance DB { get; set; }

public login()
{
InitializeComponent();
InitDB();

}
private void InitDB()
{
engine = new SterlingEngine();
engine.SterlingDatabase.RegisterSerializer();
engine.Activate();

DB = engine.SterlingDatabase.RegisterDatabase(new IsolatedStorageDriver());
IEnumerable ListItems;
ListItems = DB.Query().Select(c => c.LazyValue.Value);
var listItems = ListItems as Info[] ?? ListItems.ToArray();
DB.Save(new Info() { Id = listItems.Count() + 1, name = “Ali” + (listItems.Count() + 1).ToString(CultureInfo.InvariantCulture) });
DB.Flush();
ListItems = DB.Query().Select(c => c.LazyValue.Value);
listItems = ListItems as Info[] ?? ListItems.ToArray();
MessageBox.Show(listItems.Count().ToString(CultureInfo.InvariantCulture));
}

private void Button_Click_1(object sender, RoutedEventArgs e)
{
NavigationService.Navigate(new Uri(“/MainPage.xaml”,UriKind.Relative));
}

private void Button_Click_2(object sender, RoutedEventArgs e)
{
NavigationService.Navigate(new Uri(“/ForgotPassword.xaml”, UriKind.Relative));
}
}