Re: Any TDataset to ADO?



Just an idea, you could try to negotiate with consuming part and come up
with simple Interface like this:

Eof : Bool;

Next;

GetFieldCount : Integer;

GetField(Index : Integer) : OleVariant;

I think it would be enough for simple iteration over DataSet.


.



Relevant Pages

  • Re: Factory method question
    ... and rather to an interface or abstract class. ... my suggestion means you'd be programming to concrete classes. ... bool IsMatch; ... database with a unique ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Question about data layer
    ... Here is a ModelBase interface that alloows you to do that even over SOAP. ... TModelType UnderlyingValues ... bool IsNew; ... You DAL calls populate after it has populated the ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Role Based Security
    ... I decided to go to a RIGHTS based model. ... The below interface has met my needs, ... bool IsInAnyRole; ... ISecurityRoleCollection AllRoles //and ISecurityRole is just a Guid ...
    (microsoft.public.dotnet.framework)
  • Re: creating a _simple_ fine grained user based security system
    ... I'd create an interface, something like this ... bool CanEditReservation(User user, Reservation reservation); ... Another benefit of this is that when you write your unit tests you can create a mock IUserPermissionService and register it in the service provider in order to control the outcome of the test. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: HLA StdLib2 criticism
    ... how are you gonna fix EOF handling problem without changing interface? ... EOF *does* get thrown as an exception. ... readLn really needs to do nothing but set that flag. ...
    (alt.lang.asm)