Any plans of supporting DbGeography type?

Dec 5, 2013 at 8:09 PM
Edited Dec 5, 2013 at 8:12 PM
My model has a DbGeography field. I found this link

https://effort.codeplex.com/workitem/700

and tried adding the following xml tag to the manifest file:
    <Type Name="geography" PrimitiveTypeKind="Geography">
      <FacetDescriptions>
        <SRID Minimum="0" Maximum="9999" DefaultValue="Variable" Constant="false" />
        <IsStrict DefaultValue="true" Constant="false"/>
      </FacetDescriptions>
    </Type>
but it just moves the error further down the line. Now I am getting the following exception:
SetUp : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation.
  ----> System.ArgumentException : The type of 'HydrantLocationPoint' property is a reference type.
Parameter name: TEntity
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at Effort.Internal.Common.DatabaseReflectionHelper.CreateTable(Database database, Type entityType, IKeyInfo primaryKeyInfo, MemberInfo identityField, Object[] constraintFactories) in DatabaseReflectionHelper.cs: line 72
   at Effort.Internal.DbManagement.DbContainer.Initialize(DbSchema schema) in j:\Users\i91838\Downloads\effort-93a76babea9c\effort_93a76babea9c\Main\Source\Effort\Internal\DbManagement\DbContainer.cs: line 158
   at Effort.Internal.DbManagement.DbContainer.Initialize(StoreItemCollection edmStoreSchema) in j:\Users\i91838\Downloads\effort-93a76babea9c\effort_93a76babea9c\Main\Source\Effort\Internal\DbManagement\DbContainer.cs: line 137
   at Effort.Provider.EffortProviderServices.DbCreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection) in j:\Users\i91838\Downloads\effort-93a76babea9c\effort_93a76babea9c\Main\Source\Effort\Provider\EffortProviderServices.cs: line 176
   at System.Data.Common.DbProviderServices.CreateDatabase(DbConnection connection, Nullable`1 commandTimeout, StoreItemCollection storeItemCollection)
   at System.Data.Objects.ObjectContext.CreateDatabase()
   at System.Data.Entity.Internal.DatabaseOperations.Create(ObjectContext objectContext)
   at System.Data.Entity.Internal.DatabaseCreator.CreateDatabase(InternalContext internalContext, Func`3 createMigrator, ObjectContext objectContext)
   at System.Data.Entity.Internal.InternalContext.CreateDatabase(ObjectContext objectContext)
   at System.Data.Entity.Database.CreateIfNotExists()
   at ISO.Prometrix.CommunityMitigation.Service.UnitTest.FsrsHydrantFlowDataAccessorUnitTests.SetUp() in FsrsHydrantFlowDataAccessorUnitTests.cs: line 25
--ArgumentException
   at NMemory.Tables.Table`2.VerifyType()
   at NMemory.Tables.Table`2..ctor(IDatabase database, IKeyInfo`2 primaryKey, IdentitySpecification`1 identitySpecification)
   at NMemory.Tables.DefaultTable`2..ctor(IDatabase database, IKeyInfo`2 primaryKey, IdentitySpecification`1 identitySpecification)
   at Effort.Internal.DbManagement.Engine.ExtendedTable`2..ctor(IDatabase database, IKeyInfo`2 primaryKey, IdentitySpecification`1 identity) in j:\Users\i91838\Downloads\effort-93a76babea9c\effort_93a76babea9c\Main\Source\Effort\Internal\DbManagement\Engine\ExtendedTable`2.cs: line 43
   at Effort.Internal.DbManagement.Engine.ExtendedTableService.CreateTable(IKeyInfo`2 primaryKey, IdentitySpecification`1 identitySpecification, IDatabase database) in j:\Users\i91838\Downloads\effort-93a76babea9c\effort_93a76babea9c\Main\Source\Effort\Internal\DbManagement\Engine\Services\ExtendedTableService.cs: line 40
   at NMemory.Tables.TableCollection.Create(IKeyInfo`2 primaryKey, IdentitySpecification`1 identitySpecification)
   at Effort.Internal.Common.DatabaseReflectionHelper.WrapperMethods.CreateTable(Database database, IKeyInfo`2 primaryKeyInfo, Expression`1 identity, Object[] constraintFactories) in DatabaseReflectionHelper.cs: line 293