Esempio n. 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private static void relationship(InputEntityVisitor entity, String sourceDescription, long lineNumber, long position, Object[] properties, System.Nullable<long> propertyId, Object startNode, Object endNode, String type, System.Nullable<int> typeId) throws java.io.IOException
        private static void Relationship(InputEntityVisitor entity, string sourceDescription, long lineNumber, long position, object[] properties, long?propertyId, object startNode, object endNode, string type, int?typeId)
        {
            ApplyProperties(entity, properties, propertyId);
            entity.StartId(startNode, Group_Fields.Global);
            entity.EndId(endNode, Group_Fields.Global);
            if (typeId != null)
            {
                entity.type(typeId);
            }
            else if (!string.ReferenceEquals(type, null))
            {
                entity.Type(type);
            }
            entity.EndOfEntity();
        }
Esempio n. 2
0
 public override bool Type(int type)
 {
     return(Actual.type(type));
 }