/// <summary> /// Generates code to specify the default value for a <see cref="DbGeography" /> column. /// </summary> /// <param name="defaultValue"> The value to be used as the default. </param> /// <returns> Code representing the default value. </returns> protected virtual string Generate(DbGeography defaultValue) { return "DbGeography.FromText(\"" + defaultValue.AsText() + "\", " + defaultValue.CoordinateSystemId + ")"; }