namespace Project1
{
public class Class1
{
public string SomeProperty { get; set; }
public bool ShouldLoad { get; set; }
}
}
namespace Project2
{
public class Class1
{
public string SomeProperty { get; set; }
public bool ShouldLoad { get; set; }
}
}
var p2c1 = from c in session.Query<Class1>() where c.ShouldLoad select c;
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
class Class1
{
public string PropA { get; set; }
public string PropB { get; set; }
}
class Class2
{
public string PropA { get; set; }
public string PropC { get; set; }
}
Class1 c1=new Class1(){ PropA="A",PropB="B"};
string json=Newtonsoft.Json.JsonConvert.SerializeObject(c1);
Class2 c2 = Newtonsoft.Json.JsonConvert.DeserializeObject<Class2>(json);