메소드 | 설명 | |
---|---|---|
Dispose ( ) : void | ||
FetchRelation ( System.Guid version, System.Guid relId, int serializableRole, int parentObjID ) : byte[] |
Fetches a list of CollectionEntry objects of the Relation relId which are owned by the object with the ID parentObjID in the role serializableRole.
|
|
GetBlobStream ( System.Guid version, int ID ) : Stream |
Gets the content stream of the given Document instance ID
|
|
GetObjects ( System.Guid version, SerializableExpression query ) : byte[] |
Returns a list of objects from the datastore, as requested by the query.
|
|
InvokeServerMethod ( System.Guid version, |
||
SetBlobStream ( |
Sets the content stream of the given Document instance ID
|
|
SetObjects ( System.Guid version, byte msgArray, |
Puts a number of changed objects into the database. The resultant objects are sent back to the client.
|
|
ZetboxService ( IServerObjectHandlerFactory sohFactory, Func |
메소드 | 설명 | |
---|---|---|
DebugLogIdentity ( ) : void | ||
GetListOf ( System.Guid version, |
||
ReadObjects ( Stream msg, IZetboxContext ctx ) : List |
||
SendAuxiliaryObjects ( ZetboxStreamWriter sw, HashSet |
Sends a list of auxiliary objects to the specified ZetboxStreamWriter while avoiding to send objects twice.
|
|
SendObjects ( IEnumerable |
Serializes a list of objects onto a MemoryStream.
|
public FetchRelation ( System.Guid version, System.Guid relId, int serializableRole, int parentObjID ) : byte[] | ||
version | System.Guid | Current version of generated Zetbox.Objects assembly |
relId | System.Guid | the requested Relation |
serializableRole | int | the parent role (1 == A, 2 == B) |
parentObjID | int | the ID of the parent object |
리턴 | byte[] |
public GetBlobStream ( System.Guid version, int ID ) : Stream | ||
version | System.Guid | Current version of generated Zetbox.Objects assembly |
ID | int | ID of an valid Document instance |
리턴 | Stream |
public GetObjects ( System.Guid version, SerializableExpression query ) : byte[] | ||
version | System.Guid | Current version of generated Zetbox.Objects assembly |
query | SerializableExpression | A full LINQ query returning zero, one or more objects (FirstOrDefault, Single, Where, Skip, Take, etc.) |
리턴 | byte[] |
public InvokeServerMethod ( System.Guid version, |
||
version | System.Guid | |
type | ||
ID | int | |
method | string | |
parameterTypes | ||
parameterArray | byte | |
changedObjectsArray | byte | |
notificationRequests | ||
retChangedObjects | byte | |
리턴 | byte[] |
public SetBlobStream ( |
||
blob | Information about the given blob | |
리턴 |
public SetObjects ( System.Guid version, byte msgArray, |
||
version | System.Guid | Current version of generated Zetbox.Objects assembly |
msgArray | byte | a streamable list of |
notificationRequests | A list of objects the client wants to be notified about, if they change. | |
리턴 | byte[] |
public ZetboxService ( IServerObjectHandlerFactory sohFactory, Func |
||
sohFactory | IServerObjectHandlerFactory | |
ctxFactory | Func |
|
iftFactory | ||
perfCounter | IPerfCounter | |
readerFactory | ZetboxStreamReader | |
writerFactory | ZetboxStreamWriter | |
리턴 | System |