I'm pretty sure this is the limitation of the Demo version but to make sure I'm asking the question anyway:
Is TemplateStudio shipped with the Demo version of LLBLGen Pro 2.6 or is this only delivered for paying customers?
I wanted to test to extend some classes to some common functions that our developers come a cross frequently so I wanted to know if these thing can be generated with TemplateStudio.
For Example:
Namespace Probe.HelperClasses
Partial Class EntityCollection(Of TEntity As {EntityBase2, IEntity2})
Inherits EntityCollectionBase2(Of TEntity)
Public Function Find(ByVal field As EntityField2, ByVal value As Object) As EntityCollection(Of TEntity)
Dim returnValue As New EntityCollection(Of TEntity)
Using adapter As New DataAccessAdapter
Dim Filter As New RelationPredicateBucket(field = value)
adapter.FetchEntityCollection(returnValue, Filter)
End Using
Return returnValue
End Function
End Class
End Namespace
This because not all developers want to get familiar with the LLBLGen Pro syntax. And would like:
Dim changes As New EntityCollection(Of ChangesEntity)
MsgBox(changes.Find(ChangesFields.ID, 157)(0).Topic)
More then:
Dim changes As New EntityCollection(Of ChangesEntity)
Using adapter As New DataAccessAdapter
Dim Filter As New RelationPredicateBucket(ChangesFields.Prsld = 157)
adapter.FetchEntityCollection(changes, Filter)
End Using
MsgBox(changes(0).Topic)