From e9cea400047d134aa8e8661ada1e056669fd9bfb Mon Sep 17 00:00:00 2001 From: Agent Smith Date: Mon, 26 Feb 2024 14:22:33 +0800 Subject: [PATCH] ran unit test generation to apply fixes --- Blueprint41.UnitTest/Entities/ACTED_IN.cs | 3 +- Blueprint41.UnitTest/Entities/BaseEntity.cs | 12 +++++-- Blueprint41.UnitTest/Entities/City.cs | 12 +++---- .../Entities/MOVIE_CERTIFICATION.cs | 5 +-- Blueprint41.UnitTest/Entities/Movie.cs | 20 ++++++------ .../Entities/PERSON_DIRECTED.cs | 3 +- .../Entities/PERSON_EATS_AT.cs | 1 + .../Entities/PERSON_LIVES_IN.cs | 3 +- Blueprint41.UnitTest/Entities/Person.cs | 31 ++++++++++--------- .../Entities/RESTAURANT_LOCATED_AT.cs | 5 +-- Blueprint41.UnitTest/Entities/Rating.cs | 10 +++--- Blueprint41.UnitTest/Entities/Restaurant.cs | 14 ++++----- .../SUBSCRIBED_TO_STREAMING_SERVICE.cs | 3 +- .../Entities/StreamingService.cs | 8 ++--- .../Entities/WATCHED_MOVIE.cs | 3 +- 15 files changed, 75 insertions(+), 58 deletions(-) diff --git a/Blueprint41.UnitTest/Entities/ACTED_IN.cs b/Blueprint41.UnitTest/Entities/ACTED_IN.cs index a14ab176..b9881986 100644 --- a/Blueprint41.UnitTest/Entities/ACTED_IN.cs +++ b/Blueprint41.UnitTest/Entities/ACTED_IN.cs @@ -36,7 +36,7 @@ private ACTED_IN(string elementId, Person @in, Movie @out, Dictionary - /// Restaurant (Out Node) + /// Movie (Out Node) /// public Movie Movie { get; private set; } @@ -74,6 +74,7 @@ public static List Where(Func expression) { var query = Transaction.CompiledQuery .Match(node.Person.Alias(out var inAlias).In.ACTED_IN.Alias(out var relAlias).Out.Movie.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile(); diff --git a/Blueprint41.UnitTest/Entities/BaseEntity.cs b/Blueprint41.UnitTest/Entities/BaseEntity.cs index 8ad821a0..303e0265 100644 --- a/Blueprint41.UnitTest/Entities/BaseEntity.cs +++ b/Blueprint41.UnitTest/Entities/BaseEntity.cs @@ -21,9 +21,17 @@ public interface IBaseEntityOriginalData public partial interface IBaseEntity : OGM { string NodeType { get; } + + #region Properties string Uid { get; set; } System.DateTime LastModifiedOn { get; } + #endregion + + #region Relationship Properties + #endregion + + IBaseEntityOriginalData OriginalVersion { get; } } @@ -70,8 +78,8 @@ internal IBaseEntityMembers() { } #region Members for interface IBaseEntity - public Property Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; - public Property LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; + public EntityProperty Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; + public EntityProperty LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; #endregion } diff --git a/Blueprint41.UnitTest/Entities/City.cs b/Blueprint41.UnitTest/Entities/City.cs index f75f2798..6e1927b4 100644 --- a/Blueprint41.UnitTest/Entities/City.cs +++ b/Blueprint41.UnitTest/Entities/City.cs @@ -310,16 +310,16 @@ internal CityMembers() { } #region Members for interface ICity - public Property Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["Name"]; - public Property State { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["State"]; - public Property Country { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["Country"]; - public Property Restaurants { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["Restaurants"]; + public EntityProperty Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["Name"]; + public EntityProperty State { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["State"]; + public EntityProperty Country { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["Country"]; + public EntityProperty Restaurants { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["City"].Properties["Restaurants"]; #endregion #region Members for interface IBaseEntity - public Property Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; - public Property LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; + public EntityProperty Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; + public EntityProperty LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; #endregion } diff --git a/Blueprint41.UnitTest/Entities/MOVIE_CERTIFICATION.cs b/Blueprint41.UnitTest/Entities/MOVIE_CERTIFICATION.cs index 448d5ac0..b91b7d9a 100644 --- a/Blueprint41.UnitTest/Entities/MOVIE_CERTIFICATION.cs +++ b/Blueprint41.UnitTest/Entities/MOVIE_CERTIFICATION.cs @@ -36,12 +36,12 @@ private MOVIE_CERTIFICATION(string elementId, Movie @in, Rating @out, Dictionary internal string _elementId { get; private set; } /// - /// Person (In Node) + /// Movie (In Node) /// public Movie Movie { get; private set; } /// - /// Restaurant (Out Node) + /// Rating (Out Node) /// public Rating Rating { get; private set; } @@ -89,6 +89,7 @@ public static List Where(Func expr { var query = Transaction.CompiledQuery .Match(node.Movie.Alias(out var inAlias).In.MOVIE_CERTIFICATION.Alias(out var relAlias).Out.Rating.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile(); diff --git a/Blueprint41.UnitTest/Entities/Movie.cs b/Blueprint41.UnitTest/Entities/Movie.cs index 0908d3d7..03f4841e 100644 --- a/Blueprint41.UnitTest/Entities/Movie.cs +++ b/Blueprint41.UnitTest/Entities/Movie.cs @@ -289,8 +289,8 @@ public void SetDirector(Person person) { Dictionary properties = new Dictionary(); - ((ILookupHelper)InnerData.Director).SetItem(person, null, properties); - + if (LazySet(Members.Director, ((ILookupHelper)InnerData.Director).GetItems(null, null), person, null)) + ((ILookupHelper)InnerData.Director).SetItem(person, null, properties); } #endregion @@ -415,8 +415,8 @@ public void SetCertification(Rating rating, JsNotation)InnerData.Certification).SetItem(rating, null, properties); - + if (LazySet(Members.Certification, ((ILookupHelper)InnerData.Certification).GetItems(null, null), rating, null)) + ((ILookupHelper)InnerData.Certification).SetItem(rating, null, properties); } #endregion @@ -450,16 +450,16 @@ internal MovieMembers() { } #region Members for interface IMovie - public Property Title { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Title"]; - public Property Director { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Director"]; - public Property Actors { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Actors"]; - public Property Certification { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Certification"]; + public EntityProperty Title { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Title"]; + public EntityProperty Director { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Director"]; + public EntityProperty Actors { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Actors"]; + public EntityProperty Certification { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Movie"].Properties["Certification"]; #endregion #region Members for interface IBaseEntity - public Property Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; - public Property LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; + public EntityProperty Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; + public EntityProperty LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; #endregion } diff --git a/Blueprint41.UnitTest/Entities/PERSON_DIRECTED.cs b/Blueprint41.UnitTest/Entities/PERSON_DIRECTED.cs index 9494c05b..00a62791 100644 --- a/Blueprint41.UnitTest/Entities/PERSON_DIRECTED.cs +++ b/Blueprint41.UnitTest/Entities/PERSON_DIRECTED.cs @@ -36,7 +36,7 @@ private PERSON_DIRECTED(string elementId, Person @in, Movie @out, Dictionary - /// Restaurant (Out Node) + /// Movie (Out Node) /// public Movie Movie { get; private set; } @@ -74,6 +74,7 @@ public static List Where(Func expressi { var query = Transaction.CompiledQuery .Match(node.Person.Alias(out var inAlias).In.PERSON_DIRECTED.Alias(out var relAlias).Out.Movie.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile(); diff --git a/Blueprint41.UnitTest/Entities/PERSON_EATS_AT.cs b/Blueprint41.UnitTest/Entities/PERSON_EATS_AT.cs index c763ea08..76a7fc7d 100644 --- a/Blueprint41.UnitTest/Entities/PERSON_EATS_AT.cs +++ b/Blueprint41.UnitTest/Entities/PERSON_EATS_AT.cs @@ -74,6 +74,7 @@ public static List Where(Func expressio { var query = Transaction.CompiledQuery .Match(node.Person.Alias(out var inAlias).In.PERSON_EATS_AT.Alias(out var relAlias).Out.Restaurant.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile(); diff --git a/Blueprint41.UnitTest/Entities/PERSON_LIVES_IN.cs b/Blueprint41.UnitTest/Entities/PERSON_LIVES_IN.cs index 3f0f914d..f24d5a72 100644 --- a/Blueprint41.UnitTest/Entities/PERSON_LIVES_IN.cs +++ b/Blueprint41.UnitTest/Entities/PERSON_LIVES_IN.cs @@ -41,7 +41,7 @@ private PERSON_LIVES_IN(string elementId, Person @in, City @out, Dictionary - /// Restaurant (Out Node) + /// City (Out Node) /// public City City { get; private set; } @@ -87,6 +87,7 @@ public static List Where(Func expressi { var query = Transaction.CompiledQuery .Match(node.Person.Alias(out var inAlias).In.PERSON_LIVES_IN.Alias(out var relAlias).Out.City.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile(); diff --git a/Blueprint41.UnitTest/Entities/Person.cs b/Blueprint41.UnitTest/Entities/Person.cs index bcb360e6..631da956 100644 --- a/Blueprint41.UnitTest/Entities/Person.cs +++ b/Blueprint41.UnitTest/Entities/Person.cs @@ -221,11 +221,11 @@ public IEnumerable> GetCities(DateTime? from, DateTime? til { return ((ILookupHelper)InnerData.City).GetItems(from, till); } - public void SetCity(City value, DateTime? moment) - { - if (LazySet(Members.City, ((ILookupHelper)InnerData.City).GetItems(moment, null), value, moment)) - ((ILookupHelper)InnerData.City).SetItem(value, moment); - } + //public void SetCity(City value, DateTime? moment) + //{ + // if (LazySet(Members.City, ((ILookupHelper)InnerData.City).GetItems(moment, null), value, moment)) + // ((ILookupHelper)InnerData.City).SetItem(value, moment); + //} #endregion #region Members for interface IBaseEntity @@ -671,7 +671,8 @@ public void SetCity(City city, DateTime? moment, JsNotation AddressLine1 if (AddressLine2.HasValue) properties.Add("AddressLine2", AddressLine2.Value); if (AddressLine3.HasValue) properties.Add("AddressLine3", AddressLine3.Value); - ((ILookupHelper)InnerData.City).SetItem(city, moment, properties); + if (LazySet(Members.City, ((ILookupHelper)InnerData.City).GetItems(moment, null), city, moment)) + ((ILookupHelper)InnerData.City).SetItem(city, moment, properties); } #endregion @@ -705,19 +706,19 @@ internal PersonMembers() { } #region Members for interface IPerson - public Property Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["Name"]; - public Property Restaurants { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["Restaurants"]; - public Property DirectedMovies { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["DirectedMovies"]; - public Property ActedInMovies { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["ActedInMovies"]; - public Property StreamingServiceSubscriptions { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["StreamingServiceSubscriptions"]; - public Property WatchedMovies { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["WatchedMovies"]; - public Property City { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["City"]; + public EntityProperty Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["Name"]; + public EntityProperty Restaurants { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["Restaurants"]; + public EntityProperty DirectedMovies { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["DirectedMovies"]; + public EntityProperty ActedInMovies { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["ActedInMovies"]; + public EntityProperty StreamingServiceSubscriptions { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["StreamingServiceSubscriptions"]; + public EntityProperty WatchedMovies { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["WatchedMovies"]; + public EntityProperty City { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Person"].Properties["City"]; #endregion #region Members for interface IBaseEntity - public Property Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; - public Property LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; + public EntityProperty Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; + public EntityProperty LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; #endregion } diff --git a/Blueprint41.UnitTest/Entities/RESTAURANT_LOCATED_AT.cs b/Blueprint41.UnitTest/Entities/RESTAURANT_LOCATED_AT.cs index 15539170..6a508b02 100644 --- a/Blueprint41.UnitTest/Entities/RESTAURANT_LOCATED_AT.cs +++ b/Blueprint41.UnitTest/Entities/RESTAURANT_LOCATED_AT.cs @@ -31,12 +31,12 @@ private RESTAURANT_LOCATED_AT(string elementId, Restaurant @in, City @out, Dicti internal string _elementId { get; private set; } /// - /// Person (In Node) + /// Restaurant (In Node) /// public Restaurant Restaurant { get; private set; } /// - /// Restaurant (Out Node) + /// City (Out Node) /// public City City { get; private set; } @@ -74,6 +74,7 @@ public static List Where(Func ex { var query = Transaction.CompiledQuery .Match(node.Restaurant.Alias(out var inAlias).In.RESTAURANT_LOCATED_AT.Alias(out var relAlias).Out.City.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile(); diff --git a/Blueprint41.UnitTest/Entities/Rating.cs b/Blueprint41.UnitTest/Entities/Rating.cs index 8bbb2b64..f7015f70 100644 --- a/Blueprint41.UnitTest/Entities/Rating.cs +++ b/Blueprint41.UnitTest/Entities/Rating.cs @@ -257,15 +257,15 @@ internal RatingMembers() { } #region Members for interface IRating - public Property Code { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Rating"].Properties["Code"]; - public Property Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Rating"].Properties["Name"]; - public Property Description { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Rating"].Properties["Description"]; + public EntityProperty Code { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Rating"].Properties["Code"]; + public EntityProperty Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Rating"].Properties["Name"]; + public EntityProperty Description { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Rating"].Properties["Description"]; #endregion #region Members for interface IBaseEntity - public Property Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; - public Property LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; + public EntityProperty Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; + public EntityProperty LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; #endregion } diff --git a/Blueprint41.UnitTest/Entities/Restaurant.cs b/Blueprint41.UnitTest/Entities/Restaurant.cs index 91ad8d5b..e6ed5455 100644 --- a/Blueprint41.UnitTest/Entities/Restaurant.cs +++ b/Blueprint41.UnitTest/Entities/Restaurant.cs @@ -263,8 +263,8 @@ public void SetCity(City city) { Dictionary properties = new Dictionary(); - ((ILookupHelper)InnerData.City).SetItem(city, null, properties); - + if (LazySet(Members.City, ((ILookupHelper)InnerData.City).GetItems(null, null), city, null)) + ((ILookupHelper)InnerData.City).SetItem(city, null, properties); } #endregion @@ -357,15 +357,15 @@ internal RestaurantMembers() { } #region Members for interface IRestaurant - public Property Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Restaurant"].Properties["Name"]; - public Property City { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Restaurant"].Properties["City"]; - public Property Persons { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Restaurant"].Properties["Persons"]; + public EntityProperty Name { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Restaurant"].Properties["Name"]; + public EntityProperty City { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Restaurant"].Properties["City"]; + public EntityProperty Persons { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["Restaurant"].Properties["Persons"]; #endregion #region Members for interface IBaseEntity - public Property Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; - public Property LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; + public EntityProperty Uid { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["Uid"]; + public EntityProperty LastModifiedOn { get; } = Blueprint41.UnitTest.DataStore.MockModel.Model.Entities["BaseEntity"].Properties["LastModifiedOn"]; #endregion } diff --git a/Blueprint41.UnitTest/Entities/SUBSCRIBED_TO_STREAMING_SERVICE.cs b/Blueprint41.UnitTest/Entities/SUBSCRIBED_TO_STREAMING_SERVICE.cs index 604d67bc..10614a8e 100644 --- a/Blueprint41.UnitTest/Entities/SUBSCRIBED_TO_STREAMING_SERVICE.cs +++ b/Blueprint41.UnitTest/Entities/SUBSCRIBED_TO_STREAMING_SERVICE.cs @@ -39,7 +39,7 @@ private SUBSCRIBED_TO_STREAMING_SERVICE(string elementId, Person @in, StreamingS public Person Person { get; private set; } /// - /// Restaurant (Out Node) + /// StreamingService (Out Node) /// public StreamingService StreamingService { get; private set; } @@ -81,6 +81,7 @@ public static List Where(Func - /// Restaurant (Out Node) + /// Movie (Out Node) /// public Movie Movie { get; private set; } @@ -77,6 +77,7 @@ public static List Where(Func expression { var query = Transaction.CompiledQuery .Match(node.Person.Alias(out var inAlias).In.WATCHED_MOVIE.Alias(out var relAlias).Out.Movie.Alias(out var outAlias)) + .Where(expression.Invoke(new Alias(relAlias, inAlias, outAlias))) .Return(relAlias.ElementId.As("elementId"), relAlias.Properties("properties"), inAlias.As("in"), outAlias.As("out")) .Compile();