Entity Framework 5.0 DBContext Template with WCF Attributes Support

I am working on a Dot Net project with FOMOCOOM 4.0 and POPO services in VS 2010. due to improved performance and support for table related features. I am going to switch to Ef 5.0 and VS 2012.

but I searched a lot and did not find any poco generator template or DBcontext generator template that supports the DataContract and DataMember attributes for use in VS 2012 and EF5.x.

[DataContract(IsReference = true)]
[KnownType(typeof(Transactions))]
public partial class Accounts 
  {
    [DataMember]
    public int AccountID { get; set; }

    [DataMember]
    public string AccountCode { get; set; }
  }

and my questions:

1 is there anyone who has a template that works in VS2012?

2 Does anyone know the changes necessary for the EF 5.x DBContext generator to configure the template to support the necessary WCF attributes.

I have very little time, and I really need help.

Thanks for any help or guidance.

+5
2

VS 2012, "EF 5.x DbContext Generator WCF", POCOs, WCF.

, .

enter image description here

+2

. .tt. , , (.. ).

0

All Articles