This question is locked. New answers and comments are not allowed.
Hi Ady,
I can´t access to reply button in the ticketing support.
You can found one sample in this Project. You must add OpenAccess reference in bin folder. I have used from schemas xsd to create custom classes and forward map from these classes. The Database generated is not very clear ( many tables?). It's seam that IList object aren't generated very well generating truncated names and multiplicating tables. I wound prefer that openAccess make one forward map from xsd schema files, but that's id for later.
Regards
I´m working in one complexe forwarding map to generating Database sqlserver from existing schemas for one Edi system. I have created numerous classes for the schemas and triing one forwarding map testing openAccess. During wizard and after generating i have numerous tables that having sub tables generated with troncated names, troncated id's names and relations.It's not very clear. In my classes i have many custom types and IList<T>. When i see classes i can't see errors. Compiling is no errors but wizard is generating errors and need to push done button to go out. Q2.2009. Advice please.
sample class
I can´t access to reply button in the ticketing support.
You can found one sample in this Project. You must add OpenAccess reference in bin folder. I have used from schemas xsd to create custom classes and forward map from these classes. The Database generated is not very clear ( many tables?). It's seam that IList object aren't generated very well generating truncated names and multiplicating tables. I wound prefer that openAccess make one forward map from xsd schema files, but that's id for later.
Regards
Old Post
Posted on on Jan 6
Hi,I´m working in one complexe forwarding map to generating Database sqlserver from existing schemas for one Edi system. I have created numerous classes for the schemas and triing one forwarding map testing openAccess. During wizard and after generating i have numerous tables that having sub tables generated with troncated names, troncated id's names and relations.It's not very clear. In my classes i have many custom types and IList<T>. When i see classes i can't see errors. Compiling is no errors but wizard is generating errors and need to push done button to go out. Q2.2009. Advice please.
sample class
[Telerik.OpenAccess.Persistent()] |
public partial class DTEDefType { |
private object itemField; |
private SignatureType signatureField; |
private decimal versionField; |
public DTEDefType() { |
this.signatureField = new SignatureType(); |
this.versionField = ((decimal)(1.0m)); |
} |
public object Item { |
get { |
return this.itemField; |
} |
set { |
this.itemField = value; |
} |
} |
public SignatureType Signature { |
get { |
return this.signatureField; |
} |
set { |
this.signatureField = value; |
} |
} |
public decimal version { |
get { |
return this.versionField; |
} |
set { |
this.versionField = value; |
} |
} |
} |
[Telerik.OpenAccess.Persistent()] |
public partial class DTEDefTypeDocumento { |
private DTEDefTypeDocumentoEncabezado encabezadoField; |
private IList<DTEDefTypeDocumentoDetalle> detalleField; |
private IList<DTEDefTypeDocumentoSubTotInfo> subTotInfoField; |
private IList<DTEDefTypeDocumentoDscRcgGlobal> dscRcgGlobalField; |
private IList<DTEDefTypeDocumentoReferencia> referenciaField; |
private IList<DTEDefTypeDocumentoComisiones> comisionesField; |
private DTEDefTypeDocumentoTED tEDField; |
private System.DateTime tmstFirmaField; |
private string idField; |
public DTEDefTypeDocumento() { |
this.tEDField = new DTEDefTypeDocumentoTED(); |
this.comisionesField = new List<DTEDefTypeDocumentoComisiones>(); |
this.referenciaField = new List<DTEDefTypeDocumentoReferencia>(); |
this.dscRcgGlobalField = new List<DTEDefTypeDocumentoDscRcgGlobal>(); |
this.subTotInfoField = new List<DTEDefTypeDocumentoSubTotInfo>(); |
this.detalleField = new List<DTEDefTypeDocumentoDetalle>(); |
this.encabezadoField = new DTEDefTypeDocumentoEncabezado(); |
} |
public DTEDefTypeDocumentoEncabezado Encabezado { |
get { |
return this.encabezadoField; |
} |
set { |
this.encabezadoField = value; |
} |
} |
public IList<DTEDefTypeDocumentoDetalle> Detalle { |
get { |
return this.detalleField; |
} |
set { |
this.detalleField = value; |
} |
} |
public IList<DTEDefTypeDocumentoSubTotInfo> SubTotInfo { |
get { |
return this.subTotInfoField; |
} |
set { |
this.subTotInfoField = value; |
} |
} |
public IList<DTEDefTypeDocumentoDscRcgGlobal> DscRcgGlobal { |
get { |
return this.dscRcgGlobalField; |
} |
set { |
this.dscRcgGlobalField = value; |
} |
} |
public IList<DTEDefTypeDocumentoReferencia> Referencia { |
get { |
return this.referenciaField; |
} |
set { |
this.referenciaField = value; |
} |
} |
public IList<DTEDefTypeDocumentoComisiones> Comisiones { |
get { |
return this.comisionesField; |
} |
set { |
this.comisionesField = value; |
} |
} |
public DTEDefTypeDocumentoTED TED { |
get { |
return this.tEDField; |
} |
set { |
this.tEDField = value; |
} |
} |
public System.DateTime TmstFirma { |
get { |
return this.tmstFirmaField; |
} |
set { |
this.tmstFirmaField = value; |
} |
} |
public string ID { |
get { |
return this.idField; |
} |
set { |
this.idField = value; |
} |
} |
} |