public static ICypherFluentQuery CreateRelationship <T>(this ICypherFluentQuery query, T entity, CreateOptions options = null) where T : BaseRelationship
        {
            Func <string, string> getFinalCql = intermediateCql => GetRelationshipCql(entity.FromKey, intermediateCql, entity.ToKey);

            if (options == null)
            {
                options            = new CreateOptions();
                options.Identifier = entity.Key;
            }

            query = CommonCreate(query, entity, options, getFinalCql);

            return(query);
        }
        public static ICypherFluentQuery CreateEntity <T>(this ICypherFluentQuery query, T entity, CreateOptions options) where T : class
        {
            Func <string, string> getFinalCql = intermediateCql => WithPrePostWrap(intermediateCql, options);

            query = CommonCreate(query, entity, options, getFinalCql);

            return(query);
        }