C# Class DoctorWhoUniverse.Models.Actor

Datei anzeigen Open project: doowb/neo4j-dotnet-koans Class Usage Examples

Public Methods

Method Description
Actor ( string actorName ) : System
Fact ( GraphClient db ) : void
Played ( ) : Actor
Salary ( int cash ) : Actor

Private Methods

Method Description
EnsureActorIsInDb ( GraphClient db ) : Node
EnsureCharacterIsInDb ( Node actor, GraphClient db ) : void
EnsureRelationshipInDb ( Node actor, Node character, GraphClient db ) : void

Method Details

Actor() public method

public Actor ( string actorName ) : System
actorName string
return System

Fact() public method

public Fact ( GraphClient db ) : void
db Neo4jClient.GraphClient
return void

Played() public method

public Played ( ) : Actor
return Actor

Salary() public method

public Salary ( int cash ) : Actor
cash int
return Actor