code: func (e *RegisteredEntity) EntityInfo() *EntityInfo {
  	return &EntityInfo{
  		Ref: e.schemaRef,
  		Def: &e.table.EntityDefinition,
  		TTL: &e.table.TTL,
  	}
  }
docs: // EntityInfo is a helper for accessing the registered entity's EntityInfo
  // instance which is required by clients to call connector methods.