C# Class DoctorWhoUniverse.Models.Actor

Afficher le fichier Open project: doowb/neo4j-dotnet-koans Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
EnsureActorIsInDb ( GraphClient db ) : Node
EnsureCharacterIsInDb ( Node actor, GraphClient db ) : void
EnsureRelationshipInDb ( Node actor, Node character, GraphClient db ) : void

Method Details

Actor() public méthode

public Actor ( string actorName ) : System
actorName string
Résultat System

Fact() public méthode

public Fact ( GraphClient db ) : void
db Neo4jClient.GraphClient
Résultat void

Played() public méthode

public Played ( ) : Actor
Résultat Actor

Salary() public méthode

public Salary ( int cash ) : Actor
cash int
Résultat Actor